Эх сурвалжийг харах

H5更新:更换vue-router版本号

panyong 3 жил өмнө
parent
commit
b341087eff

+ 3 - 4
htmldev/dashboard/package-lock.json

@@ -14147,10 +14147,9 @@
       }
     },
     "vue-router": {
-      "version": "3.0.7",
-      "resolved": "https://registry.nlark.com/vue-router/download/vue-router-3.0.7.tgz",
-      "integrity": "sha1-s2yhB7SsuP9bxP+CRYQFnCP8uHs=",
-      "dev": true
+      "version": "3.5.2",
+      "resolved": "https://registry.nlark.com/vue-router/download/vue-router-3.5.2.tgz",
+      "integrity": "sha1-X1Xj8lGXDjbD6NiKfNLWejUK3lw="
     },
     "vue-style-loader": {
       "version": "4.1.3",

+ 2 - 2
htmldev/dashboard/package.json

@@ -13,7 +13,8 @@
   "dependencies": {
     "better-scroll": "^2.0.4",
     "core-js": "^3.6.5",
-    "vue": "^2.6.11"
+    "vue": "^2.6.11",
+    "vue-router": "^3.1.3"
   },
   "devDependencies": {
     "@vue/cli-plugin-babel": "~4.5.0",
@@ -45,7 +46,6 @@
     "vant": "^2.10.9",
     "vue-awesome-swiper": "^3.1.3",
     "vue-cookie": "^1.1.4",
-    "vue-router": "3.0.7",
     "vue-template-compiler": "^2.6.11",
     "vuex": "^3.5.1",
     "weixin-js-sdk": "^1.6.0"