优化代码结构,升级依赖

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

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

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

Loading…
Cancel
Save