diff --git a/src/views/Model.vue b/src/views/Model.vue
index f62540a..2a3de83 100644
--- a/src/views/Model.vue
+++ b/src/views/Model.vue
@@ -132,7 +132,7 @@ export default {
};
const delData = (item) => {
- ElMessageBox.confirm("确定删除该数据?", "提示", {
+ ElMessageBox.confirm("确定删除该数据?", "删除模板", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
diff --git a/src/views/Page.vue b/src/views/Page.vue
index 7ebde46..69eae82 100644
--- a/src/views/Page.vue
+++ b/src/views/Page.vue
@@ -195,7 +195,7 @@ export default {
return;
}
- ElMessageBox.confirm("确定删除该数据?", "提示", {
+ ElMessageBox.confirm("确定删除该数据?", "删除驱动", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
@@ -209,7 +209,7 @@ export default {
ElMessage.success(res.message || "删除成功");
getTableData();
} else {
- ElMessage.error(res.message | "删除失败");
+ ElMessage.error(res.message || "删除失败");
}
})
.catch(() => {