-
Notifications
You must be signed in to change notification settings - Fork 391
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix [Bug]: 选项卡-外部链接 如果未勾选新窗口打开时,应按iframe方式显示 #5214
- Loading branch information
1 parent
14c8398
commit 9d97d6e
Showing
15 changed files
with
75 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
creator/packages/steedos-creator/client/views/page_iframe.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template name="page_iframe"> | ||
<iframe name="pageIframe" src="{{url}}" style="{{style}}" class="{{className}}"></iframe> | ||
</template> |
11 changes: 11 additions & 0 deletions
11
creator/packages/steedos-creator/client/views/page_iframe.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Template.page_iframe.helpers({ | ||
url: ()=>{ | ||
return FlowRouter.current().queryParams.url; | ||
}, | ||
className: ()=>{ | ||
return FlowRouter.current().queryParams.className || ""; | ||
}, | ||
style: ()=>{ | ||
return FlowRouter.current().queryParams.style || "width: 100%; height: 100%;"; | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...224c9d33a7d01a3658805d2fec73088d5b118b.js → ...ad7374bc3b10136e5bd4dda90a6728c341d3e3.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...c4ef9bb0b7846c40b17a9d94eae4fba024cb70.js → ...8e4ec69d47ce47822cb06a3127acb7816ad2a6.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...f82424c303f122d911fc991576111040301fcf.js → ...5c0a7c09d0ed7d0cff91b7c9a174e1190ff2df.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,5 +36,5 @@ | |
"meteorRelease": "[email protected]", | ||
"nodeVersion": "12.16.1", | ||
"npmVersion": "6.13.4", | ||
"gitCommitHash": "ad6cc4997f76f45e388fa0ff2e8cc7c66c9175b7" | ||
"gitCommitHash": "7e4af5d6b4b6dc307a66c3eb192e21d5c6f6c416" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters