From 54d166e290ae2a0042002ddb4684b51e4bd207d9 Mon Sep 17 00:00:00 2001 From: heimawl <1785969728@qq.com> Date: 星期三, 05 七月 2023 16:55:04 +0800 Subject: [PATCH] 11 --- 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