mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-27 08:53:23 +08:00
refactor(按钮样式): 替换btn-success类为variant和color属性
使用variant="link"和color="green"替代原有的btn-success类,统一按钮样式实现方式
This commit is contained in:
@@ -155,7 +155,8 @@ function setExpandOrCollapse(expand: boolean) {
|
||||
{{ $t('pages.common.edit') }}
|
||||
</ghost-button>
|
||||
<ghost-button
|
||||
class="btn-success"
|
||||
variant="link"
|
||||
color="green"
|
||||
v-access:code="['system:dept:add']"
|
||||
@click="handleSubAdd(row)"
|
||||
>
|
||||
|
||||
@@ -223,7 +223,8 @@ function handleSyncTenantConfig() {
|
||||
@confirm="handleSync(row)"
|
||||
>
|
||||
<ghost-button
|
||||
class="btn-success"
|
||||
variant="link"
|
||||
color="green"
|
||||
v-access:code="['system:tenant:edit']"
|
||||
>
|
||||
{{ $t('pages.common.sync') }}
|
||||
|
||||
Reference in New Issue
Block a user