Browse Source

更新依赖

ZaiZai 9 months ago
parent
commit
e00c69a05f

+ 1 - 1
package.json

@@ -18,7 +18,7 @@
         "dayjs": "^1.11.11",
         "echarts": "^5.5.0",
         "element-plus": "^2.7.5",
-        "hc-vue3-ui": "^4.0.0",
+        "hc-vue3-ui": "^4.0.2",
         "js-base64": "^3.7.7",
         "js-fast-way": "^0.5.0",
         "js-md5": "^0.8.3",

File diff suppressed because it is too large
+ 0 - 0
public/plugins/element-plus/index.css


File diff suppressed because it is too large
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-dropdown.css


+ 1 - 1
public/plugins/element-plus/theme-chalk/el-option-group.css

@@ -1 +1 @@
-.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{background:var(--el-border-color-light);bottom:12px;content:"";display:block;height:1px;left:20px;position:absolute;right:20px}.el-select-group__split-dash{background:var(--el-border-color-light);height:1px;left:20px;position:absolute;right:20px}.el-select-group__title{color:var(--el-color-info);font-size:12px;line-height:30px;padding-left:20px}.el-select-group .el-select-dropdown__item{padding-left:20px}
+.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{color:var(--el-color-info);font-size:12px;line-height:34px;padding-left:20px}.el-select-group .el-select-dropdown__item{padding-left:20px}

File diff suppressed because it is too large
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-select-v2.css


File diff suppressed because it is too large
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-select.css


File diff suppressed because it is too large
+ 0 - 0
public/plugins/element-plus/theme-chalk/el-table.css


+ 1 - 1
public/plugins/element-plus/theme-chalk/el-tree-select.css

@@ -1 +1 @@
-.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}
+.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}

File diff suppressed because it is too large
+ 0 - 0
public/plugins/element-plus/theme-chalk/index.css


+ 1 - 1
public/plugins/element-plus/theme-chalk/src/common/var.scss

@@ -429,7 +429,7 @@ $select-group: () !default;
 $select-group: map.merge(
   (
     'text-color': getCssVar('color-info'),
-    'height': 30px,
+    'height': 34px,
     'font-size': 12px,
   ),
   $select-group

+ 1 - 0
public/plugins/element-plus/theme-chalk/src/dropdown.scss

@@ -169,6 +169,7 @@ $dropdown-menu-padding-vertical: map.merge(
     color: getCssVar('text-color', 'regular');
     cursor: pointer;
     outline: none;
+    &:not(.is-disabled):hover,
     &:not(.is-disabled):focus {
       background-color: getCssVar('dropdown-menuItem-hover-fill');
       color: getCssVar('dropdown-menuItem-hover-color');

+ 0 - 25
public/plugins/element-plus/theme-chalk/src/option-group.scss

@@ -14,31 +14,6 @@
     list-style: none;
     margin: 0;
     padding: 0;
-
-    &:not(:last-of-type) {
-      padding-bottom: 24px;
-
-      &::after {
-        content: '';
-        position: absolute;
-        display: block;
-        left: $gap;
-        right: $gap;
-        bottom: 12px;
-        height: 1px;
-        background: getCssVar('border-color-light');
-      }
-    }
-  }
-
-  @include e(split) {
-    &-dash {
-      position: absolute;
-      left: $gap;
-      right: $gap;
-      height: 1px;
-      background: getCssVar('border-color-light');
-    }
   }
 
   @include e(title) {

+ 0 - 1
public/plugins/element-plus/theme-chalk/src/table.scss

@@ -217,7 +217,6 @@
   }
 
   th.#{$namespace}-table__cell {
-    user-select: none;
     background-color: getCssVar('table-header-bg-color');
 
     > .cell.highlight {

+ 5 - 0
public/plugins/element-plus/theme-chalk/src/tree-select.scss

@@ -20,6 +20,11 @@
       content: none;
     }
 
+    .#{$namespace}-select-dropdown__list
+      > .#{$namespace}-select-dropdown__item {
+      padding-left: 32px;
+    }
+
     .#{$namespace}-select-dropdown__item {
       flex: 1;
       background: transparent !important;

+ 0 - 0
public/plugins/element-plus/v2.7.3 → public/plugins/element-plus/v2.7.5


+ 3 - 0
src/api/request/index.js

@@ -16,6 +16,9 @@ export const HcApi = async (obj, msg = true) => {
         obj.headers['Tenant-Id'] = obj.headers['Tenant-Id'] ?? store.tenantId
         //发起请求
         httpApi(obj).then((response) => {
+            if (response.code !== 200) {
+                getResData(response, msg)
+            }
             resolve(response)
         }).catch((response) => {
             getResData(response, msg)

+ 4 - 4
yarn.lock

@@ -1946,10 +1946,10 @@ has-flag@^4.0.0:
   resolved "http://39.108.216.210:9000/has-flag/-/has-flag-4.0.0.tgz"
   integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
 
-hc-vue3-ui@^4.0.0:
-  version "4.0.0"
-  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-4.0.0.tgz#1052f6ed15ced7bc79b45de02f2e91dfa0a52e7b"
-  integrity sha512-85zr7ncJViDKeW0mvkXBy9KZA2M7aiIV891vDk7OnCJl9OliQo0miXeXnCEJ87WXl1Fg9Y+/CfPAFWiwz6eq+A==
+hc-vue3-ui@^4.0.2:
+  version "4.0.2"
+  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-4.0.2.tgz#7a08b8142ca4d81eac93a4442089de451d386758"
+  integrity sha512-QQ8LqheEtGvHYZAtS4byi6gaxLtI2mh02KXWFjCEdDmwpR+6uKJcAHViBTl/Bx8L7FRZe7dxzGaUhyU0IQ3HxA==
   dependencies:
     axios "^1.7.2"
     dayjs "^1.11.11"

Some files were not shown because too many files changed in this diff