feat: button type 属性不再支持颜色

pull/38/head
xingyu 2023-10-15 19:34:00 +08:00
parent cd60ed8de8
commit 3147206e8e
3 changed files with 6 additions and 6 deletions

View File

@ -40,10 +40,10 @@ function handleCreate() {
<a-button type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
IP 查询
</a-button>
<a-button type="info" @click="expandAll">
<a-button @click="expandAll">
{{ t('component.tree.expandAll') }}
</a-button>
<a-button type="info" @click="collapseAll">
<a-button @click="collapseAll">
{{ t('component.tree.unExpandAll') }}
</a-button>
</template>

View File

@ -89,10 +89,10 @@ onMounted(async () => {
<a-button v-auth="['system:dept:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
{{ t('action.create') }}
</a-button>
<a-button type="info" @click="expandAll">
<a-button @click="expandAll">
{{ t('component.tree.expandAll') }}
</a-button>
<a-button type="info" @click="collapseAll">
<a-button @click="collapseAll">
{{ t('component.tree.unExpandAll') }}
</a-button>
</template>

View File

@ -79,10 +79,10 @@ function refreshMenu() {
<a-button v-auth="['system:menu:create']" type="primary" :pre-icon="IconEnum.ADD" @click="handleCreate">
{{ t('action.create') }}
</a-button>
<a-button type="info" @click="expandAll">
<a-button @click="expandAll">
{{ t('component.tree.expandAll') }}
</a-button>
<a-button type="info" @click="collapseAll">
<a-button @click="collapseAll">
{{ t('component.tree.unExpandAll') }}
</a-button>
<a-button color="warning" pre-icon="ep:refresh" @click="refreshMenu">