文件管理删除问题bug

pull/2/head
李强 2021-03-20 19:49:00 +08:00
parent 9448ef52f6
commit 4cfdde7622
1 changed files with 3 additions and 2 deletions

View File

@ -192,12 +192,13 @@
}, },
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
this.$confirm('是否确认删除名称为"' + row.name + '"的数据项?', "警告", { const userIds = row.id || this.ids;
this.$confirm('是否确认删除文件编号为"' + userIds + '"的数据项?', "警告", {
confirmButtonText: "确定", confirmButtonText: "确定",
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning" type: "warning"
}).then(function () { }).then(function () {
return delSaveFile(row.id); return delSaveFile(userIds);
}).then(() => { }).then(() => {
this.getList(); this.getList();
this.msgSuccess("删除成功"); this.msgSuccess("删除成功");