From 7d6b6142a9f7486f3e7da0b0270a3630b0a6348e Mon Sep 17 00:00:00 2001
From: guanqb <18720758508@163.com>
Date: Wed, 21 Feb 2024 16:29:53 +0800
Subject: [PATCH] 审核弹窗组件修改

---
 src/components/audit-base/main.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/components/audit-base/main.vue b/src/components/audit-base/main.vue
index 751e868..34770d8 100644
--- a/src/components/audit-base/main.vue
+++ b/src/components/audit-base/main.vue
@@ -39,8 +39,9 @@
 
     methods: {
         handleSubmit () {
-            this.form.status = 1
-            this.$emit('handleSubmit', this.form)
+            this.$nextTick(() => {
+                this.$emit('handleSubmit', Object.assign({ status: 1 }, this.form))
+            })
         },
 
         handleReset () {
@@ -52,8 +53,9 @@
 
                 return
             }
-            this.form.status = 2
-            this.$emit('handleSubmit', this.form)
+            this.$nextTick(() => {
+                this.$emit('handleSubmit', Object.assign({ status: 2 }, this.form))
+            })
         },
     }
 }

--
Gitblit v1.9.3