From 93fb3bc46f9ea1b5e86104d45707b241bd6b833e Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Mon, 13 Jan 2025 16:45:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/finance/components/pop-add-redPack.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/finance/components/pop-add-redPack.vue b/src/views/finance/components/pop-add-redPack.vue index 917a151..00904b0 100644 --- a/src/views/finance/components/pop-add-redPack.vue +++ b/src/views/finance/components/pop-add-redPack.vue @@ -92,8 +92,8 @@ export default { } console.log(id); const res = id - ? await $redPackApi.update({ ...this.form, num: this.form.num || "", discType: this.source, type: this.source.type }) - : await $redPackApi.add({ ...this.form, discType: this.source, type: this.source.type }); + ? await $redPackApi.update({ ...this.form, num: this.form.num || "", discType: this.source, type: this.source }) + : await $redPackApi.add({ ...this.form, discType: this.source, type: this.source }); console.log(res); const { data, msg } = res; if (data && data.code == 0) {