File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
vue2/vue2-core/src/fields/combiningSchemas/SelectLinkageField
vue3/vue3-core/src/fields/combiningSchemas/SelectLinkageField Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export default {
159159 }
160160 } ) ;
161161 } else {
162- setPathVal ( this . rootFormData , this . curNodePath , newOptionData || curFormData ) ;
162+ setPathVal ( this . rootFormData , this . curNodePath , newOptionData === undefined ? curFormData : newOptionData ) ;
163163 }
164164
165165 // 可添加一个配置通知外部这里变更
Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export default {
153153 }
154154 } ) ;
155155 } else {
156- setPathVal ( props . rootFormData , props . curNodePath , newOptionData || curFormData ) ;
156+ setPathVal ( props . rootFormData , props . curNodePath , newOptionData === undefined ? curFormData : newOptionData ) ;
157157 }
158158 } ) ;
159159
You can’t perform that action at this time.
0 commit comments