This commit is contained in:
2020-06-30 18:06:50 +08:00
parent c7136c2c11
commit dc69746320
21 changed files with 471 additions and 1315 deletions

View File

@@ -121,7 +121,12 @@ export default {
this.$refs.uToast.show({
title: res.message,
type: 'success',
url: '/pageE/more/Address'
// url: '/pageE/more/Address',
callback() {
uni.redirectTo({
url: '/pageE/more/Address'
});
}
})
} else {
this.showToast(res.message, 'warning');
@@ -146,7 +151,12 @@ export default {
this.$refs.uToast.show({
title: res.message,
type: 'success',
url: '/pageE/more/Address'
// url: '/pageE/more/Address',
callback() {
uni.redirectTo({
url: '/pageE/more/Address'
});
}
})
} else {
this.showToast(res.message, 'warning');

View File

@@ -54,6 +54,7 @@ export default {
methods: {
editAddress() {
this.$u.route({
type: 'redirect',
url: '/pageE/more/EditAddress',
params: {
item: JSON.stringify(this.item)
@@ -69,7 +70,7 @@ export default {
this.showToast(res.message, 'success');
this.$emit('getAddressList');
} else {
this.showToast(res.message, 'warning');
this.showToast(res.message, 'error');
}
})
},