优化代码结构,升级依赖

master
hequan_waynaqua 4 years ago
parent 27fe96e3a8
commit e329f43fd1

@ -1,2 +0,0 @@
> 1%
last 2 versions

@ -9,19 +9,19 @@
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
},
"dependencies": {
"@better-scroll/core": "^2.0.0-beta.6",
"@better-scroll/core": "^2.0.4",
"axios": "^0.19.2",
"core-js": "^3.6.4",
"dayjs": "^1.8.33",
"dayjs": "^1.8.36",
"js-cookie": "^2.2.1",
"lodash": "^4.17.19",
"lodash": "^4.17.20",
"normalize.css": "^8.0.1",
"vant": "^2.9.4",
"vue": "^2.6.11",
"vant": "^2.10.8",
"vue": "^2.6.12",
"vue-clipboard2": "^0.3.1",
"vue-content-loader": "^0.2.3",
"vue-router": "^3.1.5",
"vue-scrollto": "^2.17.1",
"vue-router": "^3.4.3",
"vue-scrollto": "^2.18.2",
"vuex": "^3.1.2"
},
"devDependencies": {
@ -45,7 +45,7 @@
"sass-loader": "^9.0.3",
"svg-sprite-loader": "^4.2.1",
"svgo": "^1.3.2",
"vue-template-compiler": "^2.6.11"
"vue-template-compiler": "^2.6.12"
},
"browserslist": [
"> 1%",

@ -76,8 +76,8 @@ export default {
default: 0
},
price: {
type: Number,
default: 0
type: String,
default: ''
},
num: {
type: Number,

@ -145,12 +145,12 @@ export default {
testPayNotify(this.orderId)
.then((res) => {
this.$dialog.alert({ message: '支付成功' })
this.$router.replace({
/* this.$router.replace({
name: 'PayStatus',
params: {
status: 'success'
}
})
}) */
this.$router.push({ path: '/user/order/list/2' })// tab
})
.catch((err) => {

Loading…
Cancel
Save