Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fcccfbcc
authored
2025-12-01 19:07:53 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:解决弹框问题
1 parent
a9249025
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
src/components/Dialog/index.vue
src/layouts/components/Tools/index.vue
src/components/Dialog/index.vue
View file @
fcccfbc
...
...
@@ -547,7 +547,7 @@ defineExpose({
<
template
>
<el-dialog
v-model=
"dialogVisible"
:title=
"dialogTitle"
:width=
"dialogSize"
:show-close=
"showClose"
:modal=
"dialogModal"
:close-on-click-modal=
"modalClose"
:modal-class=
"dialogModalClass"
destroy-on-close
align-center
:before-close=
"beforeClose"
@
close=
"dialogClose"
>
align-center
:before-close=
"beforeClose"
@
close=
"dialogClose"
:append-to-body=
"dialogInfo?.appendToBody ?? false"
>
<template
v-if=
"headerSearchInputVisible"
#
header=
"
{ titleId, titleClass }">
<span
:id=
"titleId"
:class=
"titleClass"
>
{{
dialogTitle
}}
</span>
<el-input
class=
"header_search_input"
v-model
.
trim=
"headerSearchInputValue"
...
...
src/layouts/components/Tools/index.vue
View file @
fcccfbc
...
...
@@ -58,6 +58,7 @@ onMounted(() => {
const
verifyDialogInfo
=
ref
({
visible
:
false
,
appendToBody
:
true
,
size
:
600
,
direction
:
"column"
,
header
:
{
...
...
@@ -165,7 +166,9 @@ const verifyDialogBtnClick = (btn, info) => {
<
/template
>
<
/el-popover
>
<
Dialog
:
dialogInfo
=
"verifyDialogInfo"
@
btnClick
=
"verifyDialogBtnClick"
>
<
teleport
to
=
"body"
v
-
if
=
"verifyDialogInfo.visible"
>
<
Dialog
:
dialogInfo
=
"verifyDialogInfo"
@
btnClick
=
"verifyDialogBtnClick"
>
<
div
class
=
"row-main"
>
<
div
class
=
"per"
:
class
=
"selectRole == USERROLE.USE ? 'selected' : ''"
@
click
=
"selectRole = USERROLE.USE"
>
<
div
class
=
"img-use"
><
/div
>
...
...
@@ -183,6 +186,7 @@ const verifyDialogBtnClick = (btn, info) => {
<
/div
>
<
/div
>
<
/Dialog
>
<
/teleport
>
<
/div
>
<
/template
>
<
style
lang
=
"scss"
scoped
>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment