fix:修改工具栏不会动态更新的问题

This commit is contained in:
MTrun 2022-04-09 16:54:01 +08:00
parent 5904d04e2e
commit 69fca60836

View File

@ -40,7 +40,12 @@
</template> </template>
<template v-else-if="item.type === 'select'"> <template v-else-if="item.type === 'select'">
<n-select v-model:value="item.value" size="small" :options="item.options" /> <n-select
v-model:value="item.value"
size="small"
:options="item.options"
@update:value="handleChange($event, item)"
/>
</template> </template>
</n-space> </n-space>