新增跳转时打开新窗口功能

This commit is contained in:
2026-07-24 18:19:33 +08:00
parent 0e88255852
commit f3bdb07e3d
22 changed files with 132 additions and 46 deletions
+2 -2
View File
@@ -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) {