diff --git a/frontend/src/components/CascadingDropDownBox.vue b/frontend/src/components/CascadingDropDownBox.vue index 75346df..5e508a1 100644 --- a/frontend/src/components/CascadingDropDownBox.vue +++ b/frontend/src/components/CascadingDropDownBox.vue @@ -23,8 +23,7 @@
データソースにフィールドを設定する : - +
@@ -55,18 +54,29 @@ -
-
データソース
-
ドロップダウン選択
-
+
+
+
データソース
+
ドロップダウン選択
+
+
+
+
-
-
{{ item.source.name }}
-
{{ item.dropDown?.name }}
-
+
+
+ +
{{ item.source.name }}
+
{{ item.dropDown?.name }}
+
+
- + + + +
@@ -193,7 +203,7 @@ export default defineComponent({ const updateSelectField = (f: any, item: any, index: number, keyName: 'source' | 'dropDown') => { const [selected] = f.value; const isDuplicate = data.fieldList.some((field, idx) => - idx !== index && field[keyName]?.code === selected.code + idx !== index && (field[keyName]?.code === selected.code || field[keyName]?.label === selected.label) ); if (isDuplicate) {