新增跳转时打开新窗口功能
This commit is contained in:
@@ -22,7 +22,7 @@ const $ = layui.$;
|
||||
title: "暂无权限",
|
||||
},
|
||||
function () {
|
||||
window.location.href = "fabumianfeiwenzhang.html";
|
||||
NavigationUtil.open("fabumianfeiwenzhang.html");
|
||||
},
|
||||
);
|
||||
return;
|
||||
@@ -754,7 +754,7 @@ const $ = layui.$;
|
||||
throw new Error(res.msg || "发布失败");
|
||||
}
|
||||
layer.msg("发布成功", { icon: 1, time: 1200 }, function () {
|
||||
window.location.href = "usercenter.html";
|
||||
NavigationUtil.open("usercenter.html");
|
||||
});
|
||||
})
|
||||
.catch(function (error) {
|
||||
|
||||
Reference in New Issue
Block a user