Commit 3588017fd0764a104304971d33e67bcc39b1e8d8
Merge branch 'perf/configuration-center' into 'main_dev'
fix: 修复模版标志字段为number类型 See merge request yunteng/thingskit-front!962
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -141,6 +141,10 @@ export const formSchema: FormSchema[] = [ | @@ -141,6 +141,10 @@ export const formSchema: FormSchema[] = [ | ||
141 | label: '模版', | 141 | label: '模版', |
142 | component: 'Switch', | 142 | component: 'Switch', |
143 | defaultValue: 0, | 143 | defaultValue: 0, |
144 | + componentProps: { | ||
145 | + checkedValue: 1, | ||
146 | + unCheckedValue: 0, | ||
147 | + }, | ||
144 | }, | 148 | }, |
145 | { | 149 | { |
146 | field: 'productIds', | 150 | field: 'productIds', |