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
8f052f79
authored
2025-07-10 15:30:27 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
解决新建规则,默认规则小类出错问题
1 parent
51c7f54a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/views/data_quality/ruleForm.vue
src/views/data_quality/ruleForm.vue
View file @
8f052f7
...
...
@@ -118,7 +118,7 @@ watch(() => props.smallCategoryList, (val) => {
panelList
.
value
[
2
].
options
=
val
.
slice
(
18
,
20
);
}
else
{
panelList
.
value
[
2
].
options
=
val
.
slice
(
0
,
6
);
panelList
.
value
[
2
].
default
=
getDefaultSmallCategory
(
formItems
.
value
[
0
].
default
);
;
panelList
.
value
[
2
].
default
=
getDefaultSmallCategory
(
formItems
.
value
[
0
].
default
);
}
}
if
(
Object
.
keys
(
props
.
value
).
length
>
0
)
{
...
...
@@ -129,6 +129,7 @@ watch(() => props.smallCategoryList, (val) => {
watch
(()
=>
props
.
largeCategoryList
,
(
val
)
=>
{
panelList
.
value
[
1
].
options
=
val
;
panelList
.
value
[
1
].
default
=
getDefaultLargeCategory
(
formItems
.
value
[
0
].
default
);
props
.
smallCategoryList
?.
length
&&
(
panelList
.
value
[
2
].
default
=
getDefaultSmallCategory
(
formItems
.
value
[
0
].
default
));
if
(
Object
.
keys
(
props
.
value
).
length
>
0
)
{
setPanelListValue
(
props
.
value
,
false
,
true
);
}
...
...
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