Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
鲁尚清
3 years ago
Commit
56a7df4ac091d9fdf8250eddb3353de89b7bbb07
1 parent
51ab392e
【924】 【资产视图】点击‘收藏’按钮页面报错-dialog组件增加一个属性 #1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/dialog/index.html
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/dialog/index.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/page/res/resNameComponents/index.html
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/dialog/index.html
View file @
56a7df4
<el-dialog
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:fullscreen=
"fullscreen"
:title=
"title"
:top=
"top"
:width=
"width"
@
before-close=
"hideElDialog"
@
close=
"hideElDialog"
custom-class=
"config-dialog"
destroy-on-close
v-model=
"show"
>
v-model=
"show"
:append-to-body=
"appendToBody"
>
<slot>
弹框内容
</slot>
<template
#
footer
v-if=
"showFooter"
>
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/dialog/index.js
View file @
56a7df4
...
...
@@ -51,6 +51,11 @@ export default {
fullscreen
:
{
type
:
Boolean
,
default
:
false
},
//lsq Dialog 自身是否插入至 body 元素上。 嵌套的 Dialog 必须指定该属性并赋值为 true 2022-07-01
appendToBody
:{
type
:
Boolean
,
default
:
false
}
},
...
...
hg-monitor-web-base/src/main/resources/static/vue3/src/components/page/res/resNameComponents/index.html
View file @
56a7df4
...
...
@@ -21,7 +21,7 @@
</template>
</el-dropdown>
<cm-dialog
:showDialogVisible=
"dialogFlg"
@
hidedialog=
"showDialog"
@
okfunc=
"saveStart"
title=
"收藏"
width=
"500px"
>
<cm-dialog
:showDialogVisible=
"dialogFlg"
@
hidedialog=
"showDialog"
@
okfunc=
"saveStart"
title=
"收藏"
width=
"500px"
:appendToBody=
"true"
>
<template
v-slot
>
<div
style=
"text-align: center;"
>
<el-select
placeholder=
"请选择"
style=
"margin: 3px"
v-model=
"favIds"
>
...
...
Please
register
or
login
to post a comment