删除提示

This commit is contained in:
zhongyh 2019-12-17 17:56:13 +08:00
parent 6780c53bbf
commit ad9220882d
2 changed files with 13 additions and 1 deletions

View File

@ -158,7 +158,13 @@ var indexVue = new Vue({
}); });
//删除成功,刷新列表 //删除成功,刷新列表
that.list(); that.list();
} }else {
that.$notify({
title: '失败',
message: res.msg,
type: 'warning'
});
}
}); });
}).catch(() => { }).catch(() => {
that.$notify({ that.$notify({

View File

@ -225,6 +225,12 @@
}); });
//删除成功,刷新列表 //删除成功,刷新列表
that.list(); that.list();
}else {
that.$notify({
title: '失败',
message: res.msg,
type: 'warning'
});
} }
}); });
}).catch(() => { }).catch(() => {