Browse Source

update code

chuzhixin 4 years ago
parent
commit
2ae5c2a6e0
3 changed files with 8 additions and 9 deletions
  1. 3 3
      package.json
  2. 4 5
      src/layouts/components/VabLogo/index.vue
  3. 1 1
      src/utils/encrypt.js

+ 3 - 3
package.json

@@ -43,10 +43,10 @@
     "clipboard": "^2.0.6",
     "core-js": "^3.8.3",
     "dayjs": "^1.10.4",
-    "echarts": "^5.0.1",
+    "echarts": "^5.0.2",
     "echarts-wordcloud": "^2.0.0",
     "element-ui": "^2.15.0",
-    "jsencrypt": "^3.0.0-rc.1",
+    "jsencrypt": "^3.0.0",
     "lodash": "^4.17.20",
     "maptalks": "^0.49.1",
     "mapv": "^2.0.62",
@@ -82,7 +82,7 @@
     "eslint-plugin-vue": "^7.5.0",
     "filemanager-webpack-plugin": "^3.1.0",
     "image-webpack-loader": "^7.0.1",
-    "lint-staged": "^10.5.3",
+    "lint-staged": "^10.5.4",
     "plop": "^2.7.4",
     "prettier": "^2.2.1",
     "sass": "^1.32.6",

+ 4 - 5
src/layouts/components/VabLogo/index.vue

@@ -15,7 +15,6 @@
 </template>
 <script>
   import { mapGetters } from 'vuex'
-  import { logo } from '@/config'
 
   export default {
     name: 'VabLogo',
@@ -43,9 +42,9 @@
 
   @mixin logo {
     display: inline-block;
-    width: 32px;
-    height: 32px;
-    margin-right: 5px;
+    width: 28px;
+    height: 28px;
+    margin-right: 3px;
     color: $base-title-color;
     vertical-align: middle;
   }
@@ -53,7 +52,7 @@
   @mixin title {
     display: inline-block;
     overflow: hidden;
-    font-size: 20px;
+    font-size: 18px;
     line-height: 55px;
     color: $base-title-color;
     text-overflow: ellipsis;

+ 1 - 1
src/utils/encrypt.js

@@ -1,4 +1,4 @@
-import { JSEncrypt } from 'jsencrypt'
+import { JSEncrypt } from 'jsencrypt/bin/jsencrypt.min'
 import { getPublicKey } from '@/api/publicKey'
 
 const privateKey =