From 4cfdde7622a9c745072cad0bfd1ab384c028effb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Sat, 20 Mar 2021 19:49:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E7=AE=A1=E7=90=86=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E9=97=AE=E9=A2=98bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dvadmin-ui/src/views/vadmin/system/savefile/index.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dvadmin-ui/src/views/vadmin/system/savefile/index.vue b/dvadmin-ui/src/views/vadmin/system/savefile/index.vue index 744e494..ba35fe4 100755 --- a/dvadmin-ui/src/views/vadmin/system/savefile/index.vue +++ b/dvadmin-ui/src/views/vadmin/system/savefile/index.vue @@ -192,12 +192,13 @@ }, /** 删除按钮操作 */ handleDelete(row) { - this.$confirm('是否确认删除名称为"' + row.name + '"的数据项?', "警告", { + const userIds = row.id || this.ids; + this.$confirm('是否确认删除文件编号为"' + userIds + '"的数据项?', "警告", { confirmButtonText: "确定", cancelButtonText: "取消", type: "warning" }).then(function () { - return delSaveFile(row.id); + return delSaveFile(userIds); }).then(() => { this.getList(); this.msgSuccess("删除成功");