feat-wip(components): 数据字典相关页面代码提交
This commit is contained in:
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user