Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
b957e728
Commit
b957e728
authored
Oct 12, 2024
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
c4c6afb5
2526f95d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
TravelFeature.vue
...nts/newTravelmanager/TravelGroupControl/TravelFeature.vue
+10
-11
No files found.
src/components/newTravelmanager/TravelGroupControl/TravelFeature.vue
View file @
b957e728
...
@@ -451,16 +451,16 @@
...
@@ -451,16 +451,16 @@
}
}
}
}
//计算iframe高度
//
//
计算iframe高度
const
iframe
=
document
.
getElementsByName
(
"myIframe"
);
//
const iframe = document.getElementsByName("myIframe");
if
(
iframe
)
{
//
if (iframe) {
const
iframeWindow
=
iframe
.
contentWindow
;
//
const iframeWindow = iframe.contentWindow;
if
(
iframeWindow
&&
iframeWindow
.
document
&&
iframeWindow
.
document
.
readyState
===
'complete'
)
{
//
if (iframeWindow && iframeWindow.document && iframeWindow.document.readyState === 'complete') {
const
body
=
iframeWindow
.
document
.
body
;
//
const body = iframeWindow.document.body;
const
viewportHeight
=
iframeWindow
.
innerHeight
;
//
const viewportHeight = iframeWindow.innerHeight;
this
.
myIframeHeigth
=
body
.
scrollHeight
||
viewportHeight
;
//
this.myIframeHeigth = body.scrollHeight || viewportHeight;
}
//
}
}
//
}
this
.
iframeLoading
=
false
;
this
.
iframeLoading
=
false
;
},
},
// 添加编辑模版
// 添加编辑模版
...
@@ -477,7 +477,6 @@
...
@@ -477,7 +477,6 @@
}
}
}
}
);
);
},
},
//重新加载行程特色
//重新加载行程特色
ReLoadFeature
()
{
ReLoadFeature
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment