Browse Source

🚀 feat: Update sass

chuzhixin 4 years ago
parent
commit
9c1013b0b4
3 changed files with 9 additions and 9 deletions
  1. 7 7
      package.json
  2. 1 1
      src/utils/encrypt.js
  3. 1 1
      src/views/vab/markdownEditor/index.vue

+ 7 - 7
package.json

@@ -20,7 +20,7 @@
     "image-webpack-loader": "cnpm i image-webpack-loader -D",
     "use:npm": "nrm use npm",
     "use:taobao": "nrm use taobao",
-    "update": "ncu -u&&cnpm i",
+    "update": "ncu -u --reject sass-loader&&cnpm i",
     "update:globle": "ncu -g --concurrency 10 --timeout 80000",
     "push": "start ./push.sh",
     "deploy": "start ./deploy.sh"
@@ -41,12 +41,12 @@
   "dependencies": {
     "axios": "^0.21.1",
     "clipboard": "^2.0.6",
-    "core-js": "^3.8.3",
+    "core-js": "^3.9.0",
     "dayjs": "^1.10.4",
     "echarts": "^5.0.2",
     "echarts-wordcloud": "^2.0.0",
     "element-ui": "^2.15.0",
-    "jsencrypt": "^3.0.0",
+    "jsencrypt": "^3.0.1",
     "lodash": "^4.17.20",
     "maptalks": "^0.49.1",
     "mapv": "^2.0.62",
@@ -77,17 +77,17 @@
     "body-parser": "^1.19.0",
     "chalk": "^4.1.0",
     "chokidar": "^3.5.1",
-    "eslint": "^7.19.0",
+    "eslint": "^7.20.0",
     "eslint-plugin-prettier": "^3.3.1",
-    "eslint-plugin-vue": "^7.5.0",
+    "eslint-plugin-vue": "^7.6.0",
     "filemanager-webpack-plugin": "^3.1.0",
     "image-webpack-loader": "^7.0.1",
     "lint-staged": "^10.5.4",
     "plop": "^2.7.4",
     "prettier": "^2.2.1",
-    "sass": "^1.32.6",
+    "sass": "^1.32.8",
     "sass-loader": "^10.1.1",
-    "stylelint": "^13.9.0",
+    "stylelint": "^13.10.0",
     "stylelint-config-prettier": "^8.0.2",
     "stylelint-config-recess-order": "^2.3.0",
     "svg-sprite-loader": "^5.2.1",

+ 1 - 1
src/utils/encrypt.js

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

+ 1 - 1
src/views/vab/markdownEditor/index.vue

@@ -40,7 +40,7 @@
       },
       handleAddImg() {
         this.$refs.mde.add(
-          '\n![](https://chu1204505056.gitee.io/byui-bookmarks/img/ewm.png)'
+          '\n![](https://gitee.com/chu1204505056/image/raw/master/qq_group/vab-2.png)'
         )
       },
       handleShowHtml(html) {