Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
4d34423d
authored
Feb 12, 2023
by
yan xiaonan
Committed by
Gitee
Feb 12, 2023
Browse files
Options
Browse Files
Download
Plain Diff
!1 同步dictTypeValue到form 否则导致表单验证不通过
parents
937c5218
ede4eb0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/views/system/dict/index.vue
+5
-0
No files found.
src/views/system/dict/index.vue
View file @
4d34423d
...
@@ -197,6 +197,11 @@ const setDialogTile = (type: string) => {
...
@@ -197,6 +197,11 @@ const setDialogTile = (type: string) => {
dialogVisible
.
value
=
true
dialogVisible
.
value
=
true
}
}
// 同步dictTypeValue到form 否则导致表单验证不通过
watch
(
dictTypeValue
,
(
val
)
=>
{
unref
(
typeFormRef
)?.
setValues
({
type
:
val
})
})
// 提交按钮
// 提交按钮
const
submitTypeForm
=
async
()
=>
{
const
submitTypeForm
=
async
()
=>
{
const
elForm
=
unref
(
typeFormRef
)?.
getElFormRef
()
const
elForm
=
unref
(
typeFormRef
)?.
getElFormRef
()
...
...
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