From 12cf420ba7b6f85ebd7883fa799df5d8b5cd0ecf Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期一, 26 六月 2023 15:09:49 +0800
Subject: [PATCH] 配置代码编辑依赖

---
 src/views/system/label/index.vue |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)

diff --git a/src/views/system/label/index.vue b/src/views/system/label/index.vue
index 7419008..2f291ed 100644
--- a/src/views/system/label/index.vue
+++ b/src/views/system/label/index.vue
@@ -325,7 +325,6 @@
 </template>
 
 <script>
-import { addUser, updateUser } from "@/api/system/user";
 import {
   toamendtag,
   addapitag,
@@ -671,26 +670,6 @@
       this.multiple = !selection.length;
     },
 
-    /** 鏇存柊/淇敼鎻愪氦鎸夐挳 */
-    submitForm: function () {
-      this.$refs["form"].validate((valid) => {
-        if (valid) {
-          if (this.form.userId != undefined) {
-            updateUser(this.form).then((response) => {
-              this.$modal.msgSuccess("淇敼鎴愬姛");
-              this.open = false;
-              this.getList();
-            });
-          } else {
-            addUser(this.form).then((response) => {
-              this.$modal.msgSuccess("鏂板鎴愬姛");
-              this.open = false;
-              this.getList();
-            });
-          }
-        }
-      });
-    },
     /** 鍒犻櫎鎸夐挳鎿嶄綔 */
     handleDelete(row) {
       console.log(row, "鍒犻櫎寮圭獥");

--
Gitblit v1.9.3