!261 调整drawio 预览模式 ,修复预览模式切换编辑模式bug
Merge pull request !261 from 高雄/master
This commit is contained in:
commit
8441d18a7f
File diff suppressed because one or more lines are too long
|
@ -21,7 +21,7 @@
|
|||
if (!url.startsWith(baseUrl)) {
|
||||
url = baseUrl + 'getCorsFile?urlPath=' + encodeURIComponent(Base64.encode(url));
|
||||
}
|
||||
document.getElementsByTagName('iframe')[0].src = "${baseUrl}drawio/index.html?src=about#U"+ encodeURIComponent(url)+"";
|
||||
document.getElementsByTagName('iframe')[0].src = "${baseUrl}drawio/index.html?lightbox=1&gapi=0&db=0&od=0&tr=0&gh=0&gl=0&edit=_blank&lang=zh#U"+ encodeURIComponent(url)+"";
|
||||
document.getElementsByTagName('iframe')[0].height = document.documentElement.clientHeight - 10;
|
||||
/**
|
||||
* 页面变化调整高度
|
||||
|
|
Loading…
Reference in New Issue