feat-wip(components): 数据字典相关页面代码提交

This commit is contained in:
2025-12-02 00:25:16 +08:00
parent a10efd3b7e
commit 0e2e512eda
14 changed files with 644 additions and 44 deletions

View File

@ -8,6 +8,7 @@ defineOptions({
interface Props {
itemAlign?: NaiveUI.Align;
disabledDelete?: boolean;
disabledAdd?: boolean;
loading?: boolean;
}
@ -42,7 +43,7 @@ function refresh() {
<NSpace :align="itemAlign" wrap justify="end" class="lt-sm:w-200px">
<slot name="prefix"></slot>
<slot name="default">
<NButton size="small" ghost type="primary" @click="add">
<NButton size="small" ghost type="primary" :disabled="disabledAdd" @click="add">
<template #icon>
<icon-ic-round-plus class="text-icon" />
</template>