修改地址中逻辑错误bug

This commit is contained in:
lemon橪
2021-09-09 15:02:44 +08:00
parent a78dca1a0c
commit 4c7663d671
4 changed files with 11 additions and 13 deletions

View File

@@ -149,13 +149,7 @@ export default {
delete this.form.___path;
addAddress(this.form).then((res) => {
if (res.data.success) {
if (this.routerVal.type == "order") {
uni.navigateBack();
} else {
uni.redirectTo({
url: `/pages/mine/address/addressManage`,
});
}
uni.navigateBack();
}
});
} else {