bug537:配置スペース自動全チェック問題修正

This commit is contained in:
xiaozhe.ma
2024-07-22 17:29:42 +09:00
parent c6a577b5ec
commit cc4276b727
4 changed files with 17 additions and 14 deletions

View File

@@ -23,7 +23,7 @@
</template>
</q-input>
</template>
<field-select ref="appDg" name="フィールド" :type="selectType" :appId="store.appInfo?.appId" :fieldTypes="fieldTypes" :filter="filter"></field-select>
<field-select ref="appDg" name="フィールド" :type="selectType" :appId="store.appInfo?.appId" :selectedFields="selectedFields" :fieldTypes="fieldTypes" :filter="filter"></field-select>
</show-dialog>
</div>
</template>
@@ -80,6 +80,7 @@ export default defineComponent({
const appDg = ref();
const show = ref(false);
const selectedField = ref(props.modelValue);
const selectedFields =ref(!props.modelValue?[]: [props.modelValue]);
const store = useFlowEditorStore();
const isSelected = computed(() => {
return selectedField.value !== null && typeof selectedField.value === 'object' && ('name' in selectedField.value)
@@ -108,6 +109,7 @@ export default defineComponent({
selectedField,
isSelected,
filter:ref(''),
selectedFields
};
}
});