This commit is contained in:
zhal 2022-07-25 15:45:05 +08:00
parent f7059b9083
commit 6402e7e380

View File

@ -2046,6 +2046,7 @@ function getScreenResolution() {
// 重构
function openLinkUrlRewrite(type, url, target, uuid, obj, fileName, inspected) {
var sid=$("#sid").val();
if (type == "custom") {
$("#link-dialog-normal_contextmenu").hide();
if (target == "newTab" && parent.openTabCustom != undefined) {
@ -2056,7 +2057,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 {
// 判断权限,判断是否存在文件