fix: bugs
This commit is contained in:
@@ -42,6 +42,7 @@ const props = defineProps({
|
|||||||
modelValue: {
|
modelValue: {
|
||||||
type: Object,
|
type: Object,
|
||||||
required: true,
|
required: true,
|
||||||
|
default: () => ({}),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -272,7 +272,7 @@ defineExpose({ openDrawer }); // 暴露方法给父组件
|
|||||||
</template>
|
</template>
|
||||||
<Condition
|
<Condition
|
||||||
:ref="(el) => (conditionRef[index] = el)"
|
:ref="(el) => (conditionRef[index] = el)"
|
||||||
:model-value="routerGroups[index] as Record<string, any>"
|
:model-value="routerGroups[index]"
|
||||||
@update:model-value="(val) => (routerGroups[index] = val)"
|
@update:model-value="(val) => (routerGroups[index] = val)"
|
||||||
/>
|
/>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user