BUG539:詳細画面表示時のボタン押すイベント設定できない障害対応

This commit is contained in:
xiaozhe.ma
2024-07-23 09:40:15 +09:00
parent 9cbd07db37
commit f0b76057bb
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +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 selectedFields =computed(()=>!selectedField.value?[]: [selectedField.value]);
const store = useFlowEditorStore();
const isSelected = computed(() => {
return selectedField.value !== null && typeof selectedField.value === 'object' && ('name' in selectedField.value)