提交 353506f1 编写于 作者: Neuromancer255's avatar Neuromancer255

关闭视图事件逻辑调整

上级 b5dc7215
......@@ -254,7 +254,8 @@ ${P.getLogicCode(logic, "LOGIC.vue").code}
if (this.viewDefaultUsage === "routerView" ) {
this.$store.commit("deletePage", this.$route.fullPath);
this.$router.go(-1);
}else{
}
if (this.viewDefaultUsage === "actionView") {
this.$emit("close", { status: "success", action: "close", data: args instanceof MouseEvent ? null : args });
}
</#if>
......
......@@ -10,7 +10,8 @@
if (this.viewDefaultUsage === "routerView") {
this.$store.commit("deletePage", this.$route.fullPath);
this.$router.go(-1);
} else {
}
if (this.viewDefaultUsage === "actionView") {
this.$emit("close", { status: "success", action: "close", data: args instanceof MouseEvent ? null : args });
}
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册