From 2b385df20fc1c7443c2f951b11aba4e6aa0885c1 Mon Sep 17 00:00:00 2001 From: lhd <839347550@qq.com> Date: Tue, 12 Nov 2024 13:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=BB=84=E7=AE=A1=E7=90=86=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall4v/src/views/modules/prod/prodTag/add-or-update.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/front-end/mall4v/src/views/modules/prod/prodTag/add-or-update.vue b/front-end/mall4v/src/views/modules/prod/prodTag/add-or-update.vue index 0c01405..e150923 100644 --- a/front-end/mall4v/src/views/modules/prod/prodTag/add-or-update.vue +++ b/front-end/mall4v/src/views/modules/prod/prodTag/add-or-update.vue @@ -92,7 +92,7 @@ const dataForm = ref({ status: 1, isDefault: null, prodCount: null, - seq: null, + seq: 0, style: 0 }) @@ -120,6 +120,9 @@ const dataFormRef = ref(null) * 表单提交 */ const onSubmit = Debounce(() => { + if (!dataForm.value.seq) { + dataForm.value.seq = 0 + } dataFormRef.value?.validate((valid) => { if (valid) { http({