Merge branch 'dev-yxl' of gitee.com:zongzhige/shopxo-uniapp into dev

master
gongfuxiang 2025-06-10 10:10:10 +08:00
commit b562f86450
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@
if (res.data.code == 0) {
let temp_list = this.data_list;
app.globalData.showToast(res.data.msg, 'success');
if (index) {
if (index == null) {
temp_list = res.data.data.coupon || [];
} else {
temp_list[index] = res.data.data.coupon || {};