From ba3a85f2bf6dc706ba2f74e88e9d81197533f1b7 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 24 十月 2024 18:30:12 +0800
Subject: [PATCH] 优化

---
 company_admin/src/components/business/selectProductItem.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/company_admin/src/components/business/selectProductItem.vue b/company_admin/src/components/business/selectProductItem.vue
index 39acc7d..3aa2a57 100644
--- a/company_admin/src/components/business/selectProductItem.vue
+++ b/company_admin/src/components/business/selectProductItem.vue
@@ -165,7 +165,7 @@
                 type: this.form.type
             }).then(res => {
                 this.visible = false
-                this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
+                this.$tip.apiSuccess(res)
                 // this.$emit('success')
                 this.$emit('result')
             })
@@ -184,6 +184,7 @@
         open(title, target) {
             this.title = title
             this.visible = true
+            this.form.name = ''
             this.form.categoryId = Number(target.categoryId.split(',')[0])
             this.form.categoryId1 = Number(target.categoryId.split(',')[1])
             this.form.rate = Number(target.rate)

--
Gitblit v1.9.3