tmp: 部分代码与UnishopV5结合,但是代码有严重缺陷

This commit is contained in:
2025-12-20 15:30:39 +08:00
parent ed5181b382
commit e263a616f6
183 changed files with 31316 additions and 18590 deletions

View File

@@ -229,7 +229,11 @@
if (res.data > 0) {
this.$refs.mescroll.refresh();
if (this.back != '') {
this.$util.redirectTo(this.back, {}, 'redirectTo');
// this.$util.redirectTo(this.back, {}, 'redirectTo');
// 回退到上一个页面
uni.navigateBack({
delta: 1 // delta值为1时表示回退到上一级页面
});
} else {
if (this.$refs.loadingCover) this.$refs.loadingCover.show();
this.addressList = [];
@@ -333,7 +337,11 @@
if (res.code >= 0) {
if (this.back != '') {
this.$util.redirectTo(this.back, {}, 'redirectTo');
// this.$util.redirectTo(this.back, {}, 'redirectTo');
// 回退到上一个页面
uni.navigateBack({
delta: 1 // delta值为1时表示回退到上一级页面
});
} else {
this.$refs.mescroll.refresh();
}