修改架构视图链接点击时获取不到sid

This commit is contained in:
zhal 2022-07-22 11:11:04 +08:00
parent 54784c9e46
commit 0aaa9e6816

View File

@ -495,6 +495,7 @@ function openLinkUrl(type, url, target, uuid, obj) {
}
function openLinkUrlRewrite(type, url, target, uuid, obj, fileName, inspected) {
var sid = $("#sid").val();
if (target == "0") {
target = $(obj).attr("target");
}
@ -508,7 +509,7 @@ function openLinkUrlRewrite(type, url, target, uuid, obj, fileName, inspected) {
}
window.location.href = url;
} else {
window.open(url, target);
window.open(url+sid, target);
}
} else {
if (inspected) { //已经进行过权限判断,不需要再判断