Bläddra i källkod

chore: update @pureadmin/components

xiaoxian521 3 år sedan
förälder
incheckning
8b3f642cf2
4 ändrade filer med 6 tillägg och 19 borttagningar
  1. 1 1
      package.json
  2. 4 4
      pnpm-lock.yaml
  3. 1 0
      src/main.ts
  4. 0 14
      src/style/index.scss

+ 1 - 1
package.json

@@ -30,7 +30,7 @@
     "@ctrl/tinycolor": "^3.4.0",
     "@logicflow/core": "0.7.1",
     "@logicflow/extension": "0.7.1",
-    "@pureadmin/components": "^0.0.9",
+    "@pureadmin/components": "^1.0.0",
     "@vueuse/core": "^7.7.0",
     "@vueuse/motion": "^2.0.0-beta.9",
     "@vueuse/shared": "^7.7.0",

+ 4 - 4
pnpm-lock.yaml

@@ -12,7 +12,7 @@ specifiers:
   "@iconify/vue": ^3.1.3
   "@logicflow/core": 0.7.1
   "@logicflow/extension": 0.7.1
-  "@pureadmin/components": ^0.0.9
+  "@pureadmin/components": ^1.0.0
   "@types/element-resize-detector": 1.1.3
   "@types/js-cookie": ^3.0.1
   "@types/lodash-es": ^4.17.6
@@ -105,7 +105,7 @@ dependencies:
   "@ctrl/tinycolor": 3.4.0
   "@logicflow/core": 0.7.1
   "@logicflow/extension": 0.7.1
-  "@pureadmin/components": 0.0.9_vue@3.2.31
+  "@pureadmin/components": 1.0.0_vue@3.2.31
   "@vueuse/core": 7.7.0_vue@3.2.31
   "@vueuse/motion": 2.0.0-beta.9_vue@3.2.31
   "@vueuse/shared": 7.7.0_vue@3.2.31
@@ -1143,10 +1143,10 @@ packages:
       }
     dev: false
 
-  /@pureadmin/components/0.0.9_vue@3.2.31:
+  /@pureadmin/components/1.0.0_vue@3.2.31:
     resolution:
       {
-        integrity: sha512-WCxmnKRDwB+51aEFHr5snIytDCjJuovucfQhVJroQleFYsFga+aYKwmvIRFutOkqVa5hndUXLcUm9k8oTKngcQ==
+        integrity: sha512-XQAKuGo5ybJsiAiP4JQNJCzS04u6P0B2iQ+3n+h5yEfMQIestmGPomF0pFa0ho/Wp1JpqBxvct9ZcVK7xmNW7w==
       }
     peerDependencies:
       vue: ^3.2.0

+ 1 - 0
src/main.ts

@@ -14,6 +14,7 @@ import "virtual:windi.css";
 // 导入公共样式
 import "./style/index.scss";
 import "@pureadmin/components/dist/index.min.css";
+import "@pureadmin/components/dist/theme.min.css";
 // 导入字体图标
 import "./assets/iconfont/iconfont.js";
 import "./assets/iconfont/iconfont.css";

+ 0 - 14
src/style/index.scss

@@ -93,17 +93,3 @@ ul {
 .mobile-spacing {
   margin: 0;
 }
-
-// @pureadmin/components 样式覆盖
-.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
-  color: var(--el-color-primary) !important;
-}
-.ant-tabs-ink-bar {
-  background: var(--el-color-primary) !important;
-}
-.ant-tabs-tab,
-.ant-tabs-tab-btn {
-  &:hover {
-    color: var(--el-color-primary) !important;
-  }
-}