修改架构视图链接点击时获取不到sid
This commit is contained in:
parent
54784c9e46
commit
0aaa9e6816
@ -495,6 +495,7 @@ function openLinkUrl(type, url, target, uuid, obj) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function openLinkUrlRewrite(type, url, target, uuid, obj, fileName, inspected) {
|
function openLinkUrlRewrite(type, url, target, uuid, obj, fileName, inspected) {
|
||||||
|
var sid = $("#sid").val();
|
||||||
if (target == "0") {
|
if (target == "0") {
|
||||||
target = $(obj).attr("target");
|
target = $(obj).attr("target");
|
||||||
}
|
}
|
||||||
@ -508,7 +509,7 @@ function openLinkUrlRewrite(type, url, target, uuid, obj, fileName, inspected) {
|
|||||||
}
|
}
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
} else {
|
} else {
|
||||||
window.open(url, target);
|
window.open(url+sid, target);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (inspected) { //已经进行过权限判断,不需要再判断
|
if (inspected) { //已经进行过权限判断,不需要再判断
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user