|
@@ -148,13 +148,12 @@ export default {
|
|
|
},
|
|
|
//1.2 删除内容
|
|
|
deleteRow(name, val) {
|
|
|
- this.name = name
|
|
|
this.$confirm('注意:您是否确定删除该违禁词?', '提示', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
}).then(() => {
|
|
|
delBlackWord({
|
|
|
- name: this.name,
|
|
|
+ name: name,
|
|
|
}).then(data => {
|
|
|
console.log(data);
|
|
|
if (data.code == 200) {
|
|
@@ -238,7 +237,7 @@ export default {
|
|
|
console.log(data);
|
|
|
if (data.code == 200) {
|
|
|
this.$message({
|
|
|
- message: "添加成功",
|
|
|
+ message: "修改成功",
|
|
|
type: 'success'
|
|
|
});
|
|
|
this.dialogTableVisible = false
|