Commit ad922088 authored by zhongyh's avatar zhongyh

删除提示

parent 6780c53b
...@@ -158,7 +158,13 @@ var indexVue = new Vue({ ...@@ -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({
......
...@@ -225,6 +225,12 @@ ...@@ -225,6 +225,12 @@
}); });
//删除成功,刷新列表 //删除成功,刷新列表
that.list(); that.list();
}else {
that.$notify({
title: '失败',
message: res.msg,
type: 'warning'
});
} }
}); });
}).catch(() => { }).catch(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment