Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-fe
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
poc
poc-fe
Commits
ef3108c3
Commit
ef3108c3
authored
Apr 27, 2025
by
nick zheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'beta' into 'master'
fix: 提示弹窗关闭后清空旧值 See merge request
!213
parents
0f8252c7
22792ba0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
message-tip-modal.vue
src/components/message-tip-modal/message-tip-modal.vue
+13
-1
No files found.
src/components/message-tip-modal/message-tip-modal.vue
View file @
ef3108c3
<
script
setup
lang=
"ts"
>
import
{
onMounted
,
reactive
,
ref
}
from
'vue'
import
{
onMounted
,
reactive
,
ref
,
watch
}
from
'vue'
import
{
useI18n
}
from
'vue-i18n'
import
{
useLayoutConfig
}
from
'@/composables/useLayoutConfig'
...
...
@@ -19,6 +19,18 @@ const modalOptions = reactive({
let
_modalStatusResolve
=
(
_value
?:
any
)
=>
{}
let
_modalStatusReject
=
(
_reason
?:
any
)
=>
{}
watch
(
()
=>
isShowModal
.
value
,
(
newVal
)
=>
{
if
(
!
newVal
)
{
modalOptions
.
content
=
''
modalOptions
.
title
=
t
(
'common_module.tip'
)
modalOptions
.
cancelText
=
t
(
'common_module.cancel_btn_text'
)
modalOptions
.
confirmText
=
t
(
'common_module.confirm_btn_text'
)
}
},
)
onMounted
(()
=>
{
window
.
$message
.
ctWarning
=
handleShowModal
})
...
...
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