Commit 8cec17adfdd343292fa5beaaa7459f5fbfb5f77d
Merge branch 'fix/DEFECT-1298' into 'main_dev'
fix: 修复bool类型的属性下发,开和关都显示为0 See merge request yunteng/thingskit-front!621
Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -90,9 +90,10 @@ export const useGenDynamicForm = () => { |
90 | 90 | componentProps: { |
91 | 91 | options: [ |
92 | 92 | { label: `${boolClose}-0`, value: 0 }, |
93 | - { label: `${boolOpen}-0`, value: 1 }, | |
93 | + { label: `${boolOpen}-1`, value: 1 }, | |
94 | 94 | ], |
95 | 95 | placeholder: `请选择${functionName}`, |
96 | + getPopupContainer: () => document.body, | |
96 | 97 | }, |
97 | 98 | }; |
98 | 99 | }; | ... | ... |