From 46906c8d44ce2cca3b91de08dc282f06bb7b07a0 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 23 十二月 2022 09:23:58 +0800 Subject: [PATCH] # --- pages/business/cstmr/cstmrDetails.vue | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/pages/business/cstmr/cstmrDetails.vue b/pages/business/cstmr/cstmrDetails.vue index 9e793c5..60f6c3b 100644 --- a/pages/business/cstmr/cstmrDetails.vue +++ b/pages/business/cstmr/cstmrDetails.vue @@ -108,12 +108,11 @@ del(id) { let that = this var ids = []; - id = Number(id) ids.push(id) uni.request({ url: that.baseUrl + '/cstmr/delete/json', header: {'token' : uni.getStorageSync('token'),}, - data: {ids: [100,20,40]}, + data: {ids: ids}, method: 'POST', success(res) { console.log(res); -- Gitblit v1.9.1