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
f71e7492
authored
Mar 01, 2023
by
芋道源码
Committed by
Gitee
Mar 01, 2023
Browse files
Options
Browse Files
Download
Plain Diff
!1 bug修复,同步dictTypeValue到form 否则导致表单验证不通过
Merge pull request !1 from yan xiaonan/master
parents
2ec69784
4d34423d
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 @
f71e7492
...
...
@@ -197,6 +197,11 @@ const setDialogTile = (type: string) => {
dialogVisible
.
value
=
true
}
// 同步dictTypeValue到form 否则导致表单验证不通过
watch
(
dictTypeValue
,
(
val
)
=>
{
unref
(
typeFormRef
)?.
setValues
({
type
:
val
})
})
// 提交按钮
const
submitTypeForm
=
async
()
=>
{
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