From 05e31b72743ef6f7cc4e887bb76d0a1207fcd84c Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Mon, 18 May 2026 10:58:55 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 2c66aec..a52ad0d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1135,6 +1135,11 @@ pic: that.mallAds[i].adImage.trim() }]; } + }else{ + if (that.mallAds[i].adImage.endsWith(',')) { + that.mallAds[i].adImage = that.mallAds[i].adImage.slice(0, -1); + } + } } if (that.searchForm.pageNum == 1) { @@ -1223,7 +1228,7 @@ }) }, goOrderDetail(item) { - uni.redirectTo({ + uni.navigateTo({ url: '/package1/order/orderDetail?id=' + item.id }); },