@@ -286,7 +286,7 @@
});
},
onDelete() {
- this.$alert('删除将无法恢复,确认要删除么?', '警告', {type: 'error'}).then(() => {
+ this.$confirm('删除将无法恢复,确认要删除么?', '警告', {type: 'error'}).then(() => {
return this.$http.post(`/${model.className?uncap_first}/del/${r'${this.formData.id}'}`)
}).then(() => {
this.$message.success('删除成功');