Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
rongtong-app
Commits
5d4ec285
Commit
5d4ec285
authored
Jul 09, 2023
by
dlkong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗位置修改,组件参数修改
parent
1436c03a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
+13
-12
src/views/drawCanvas/riskView.vue
src/views/drawCanvas/riskView.vue
+13
-12
No files found.
src/views/drawCanvas/riskView.vue
View file @
5d4ec285
...
...
@@ -55,16 +55,17 @@
placeholder=
"选择房间类型"
@
click=
"showPicker = true"
/>
<van-popup
v-model=
"showPicker"
round
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns"
@
cancel=
"showPicker = false"
@
confirm=
"onConfirm"
/>
</van-popup>
</van-cell-group>
</van-dialog>
<van-popup
v-model=
"showPicker"
round
position=
"bottom"
>
<van-picker
show-toolbar
:columns=
"columns"
@
cancel=
"showPicker = false"
@
confirm=
"onConfirm"
/>
</van-popup>
</div>
</
template
>
...
...
@@ -113,10 +114,9 @@ export default {
},
mounted
()
{
// screenfull.toggle(this.$refs.mapbox);
this
.
$nextTick
(()
=>
{
//
this.$nextTick(() => {
// this.rotateBox();
this
.
initRotate
();
});
// });
if
(
this
.
_props
.
isView
)
{
console
.
log
(
'
作为组件传值==>>
'
,)
this
.
isViews
=
true
...
...
@@ -124,9 +124,10 @@ export default {
}
if
(
this
.
$route
.
params
.
isView
)
{
this
.
isViews
=
true
this
.
initRotate
();
window
.
addEventListener
(
"
onorientationchange
"
in
window
?
"
orientationchange
"
:
"
resize
"
,
this
.
orientationChange
,
false
);
}
this
.
getRoomInfo
()
window
.
addEventListener
(
"
onorientationchange
"
in
window
?
"
orientationchange
"
:
"
resize
"
,
this
.
orientationChange
,
false
);
},
methods
:
{
orientationChange
(){
...
...
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