From bef56ec63e561652fe37090400ad340b9b2b023b Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 26 Jun 2023 18:06:02 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E5=8F=91=E8=B4=A7=E5=95=86=E5=93=81?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../admin/src/pages/order/orderList/components/tableList.vue | 1 + .../admin/src/pages/order/orderList/handle/orderSend.vue | 5 ++++- template/admin/src/pages/product/productAdd/index.vue | 3 +-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/template/admin/src/pages/order/orderList/components/tableList.vue b/template/admin/src/pages/order/orderList/components/tableList.vue index f31570223..5b7007e32 100644 --- a/template/admin/src/pages/order/orderList/components/tableList.vue +++ b/template/admin/src/pages/order/orderList/components/tableList.vue @@ -187,6 +187,7 @@ @clearId=" () => { orderId = 0; + virtual_type = null; } " > diff --git a/template/admin/src/pages/order/orderList/handle/orderSend.vue b/template/admin/src/pages/order/orderList/handle/orderSend.vue index 017755ea3..0ac1c597c 100644 --- a/template/admin/src/pages/order/orderList/handle/orderSend.vue +++ b/template/admin/src/pages/order/orderList/handle/orderSend.vue @@ -198,7 +198,10 @@ export default { status: Number, // total_num: Number, pay_type: String, - virtual_type: Number, + virtual_type: { + type: Number, + default: 0, + }, }, data() { return { diff --git a/template/admin/src/pages/product/productAdd/index.vue b/template/admin/src/pages/product/productAdd/index.vue index c9e3f50ba..568851d04 100644 --- a/template/admin/src/pages/product/productAdd/index.vue +++ b/template/admin/src/pages/product/productAdd/index.vue @@ -1810,8 +1810,6 @@ export default { ], columnsInstalM: [], moveIndex: '', - // aa: [], - // openSubimit: false }; }, computed: { @@ -2759,6 +2757,7 @@ export default { activeIds.push(item.id); }); this.formValidate.label_id = activeIds; + if (this.openSubimit) return; this.openSubimit = true; this.formValidate.description = this.formatRichText(this.content); productAddApi(this.formValidate)