Fix remote widget undefined arg (#2551)

This commit is contained in:
bymyself
2025-02-14 07:47:18 -07:00
committed by GitHub
parent f9c2db5908
commit 530ca75dd0
3 changed files with 49 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ export const useComboWidget = () => {
inputData: InputSpec
) => {
const widgetStore = useWidgetStore()
const { remote, options } = inputData[1]
const { remote, options } = inputData[1] || {}
const defaultValue = widgetStore.getDefaultValue(inputData)
const res = {