mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-24 20:34:32 +08:00
refactor(按钮样式): 替换btn-success类为variant和color属性
使用variant="link"和color="green"替代原有的btn-success类,统一按钮样式实现方式
This commit is contained in:
@@ -1,14 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
import type { VbenFormProps } from '@vben/common-ui';
|
||||
import type { Recordable } from '@vben/types';
|
||||
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui';
|
||||
import { Page, useVbenModal } from '@vben/common-ui';
|
||||
import { getVxePopupContainer } from '@vben/utils';
|
||||
|
||||
import { Popconfirm, Space } from 'antdv-next';
|
||||
|
||||
import { useVbenVxeGrid, type VxeGridProps } from '#/adapter/vxe-table';
|
||||
import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import { categoryList, categoryRemove } from '#/api/workflow/category';
|
||||
|
||||
import categoryModal from './category-modal.vue';
|
||||
@@ -125,7 +128,8 @@ function collapseAll() {
|
||||
{{ $t('pages.common.edit') }}
|
||||
</ghost-button>
|
||||
<ghost-button
|
||||
class="btn-success"
|
||||
variant="link"
|
||||
color="green"
|
||||
v-access:code="['workflow:category:edit']"
|
||||
@click.stop="handleAdd(row)"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user