Commit e49c158946151af6f87802ad3f568d9df08eb458

Authored by ww
1 parent 5c85498b

fix: 修复bool类型的属性下发,开和关都显示为0

@@ -90,9 +90,10 @@ export const useGenDynamicForm = () => { @@ -90,9 +90,10 @@ export const useGenDynamicForm = () => {
90 componentProps: { 90 componentProps: {
91 options: [ 91 options: [
92 { label: `${boolClose}-0`, value: 0 }, 92 { label: `${boolClose}-0`, value: 0 },
93 - { label: `${boolOpen}-0`, value: 1 }, 93 + { label: `${boolOpen}-1`, value: 1 },
94 ], 94 ],
95 placeholder: `请选择${functionName}`, 95 placeholder: `请选择${functionName}`,
  96 + getPopupContainer: () => document.body,
96 }, 97 },
97 }; 98 };
98 }; 99 };