This commit is contained in:
Savior 2022-03-17 08:38:55 +08:00
parent ac79f63cd2
commit bb91d8bd2a
4 changed files with 22 additions and 2 deletions

17
package-lock.json generated
View File

@ -13,7 +13,8 @@
"element-ui": "^2.15.6",
"vant": "^2.12.44",
"vue": "^2.6.14",
"vue-router": "^3.5.3"
"vue-router": "^3.5.3",
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/core": "^7.12.16",
@ -10199,6 +10200,14 @@
"integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==",
"dev": true
},
"node_modules/vuex": {
"version": "3.6.2",
"resolved": "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz",
"integrity": "sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==",
"peerDependencies": {
"vue": "^2.0.0"
}
},
"node_modules/watchpack": {
"version": "2.3.1",
"resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-2.3.1.tgz",
@ -18871,6 +18880,12 @@
"integrity": "sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw==",
"dev": true
},
"vuex": {
"version": "3.6.2",
"resolved": "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz",
"integrity": "sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==",
"requires": {}
},
"watchpack": {
"version": "2.3.1",
"resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-2.3.1.tgz",

View File

@ -13,7 +13,8 @@
"element-ui": "^2.15.6",
"vant": "^2.12.44",
"vue": "^2.6.14",
"vue-router": "^3.5.3"
"vue-router": "^3.5.3",
"vuex": "^3.6.2"
},
"devDependencies": {
"@babel/core": "^7.12.16",

View File

@ -10,6 +10,10 @@ import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from "axios"
import Vuex from "vuex"
Vue.ues(Vuex)
Vue.prototype.axios = axios
axios.defaults.baseURL = "https://kaoshi-shangpin.theluyuan.com"

BIN
插槽.xmind Normal file

Binary file not shown.