提交 0ba638e0 编写于 作者: zhentian.jia's avatar zhentian.jia

暂存不跳转

上级 c4aa938f
...@@ -933,18 +933,15 @@ export default { ...@@ -933,18 +933,15 @@ export default {
}; };
vm.POST("portal/portalInfo/componentDraft", param).then(res => { vm.POST("portal/portalInfo/componentDraft", param).then(res => {
console.log(res); console.log(res);
vm.$message({
message: res.message,
type: "info"
});
if (res.code == "000000") { if (res.code == "000000") {
//notify //notify
vm.$message({ if(type == 2) {
type: "success", this.$router.push("item-manager");
message: "操作成功!" }
});
this.$router.push("item-manager");
} else {
vm.$message({
message: res.message,
type: "warning"
});
} }
}); });
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册