diff --git a/apps/web-antd/src/views/system/dept/index.vue b/apps/web-antd/src/views/system/dept/index.vue index 0d938a1e..94aa5ac9 100644 --- a/apps/web-antd/src/views/system/dept/index.vue +++ b/apps/web-antd/src/views/system/dept/index.vue @@ -159,7 +159,7 @@ function setExpandOrCollapse(expand: boolean) { {{ $t('pages.common.edit') }} @@ -185,15 +185,3 @@ function setExpandOrCollapse(expand: boolean) { - - diff --git a/apps/web-antd/src/views/system/menu/index.vue b/apps/web-antd/src/views/system/menu/index.vue index 928e41bc..0204f50c 100644 --- a/apps/web-antd/src/views/system/menu/index.vue +++ b/apps/web-antd/src/views/system/menu/index.vue @@ -167,7 +167,7 @@ const isAdmin = computed(() => { @@ -194,15 +194,3 @@ const isAdmin = computed(() => { - - diff --git a/apps/web-antd/src/views/system/tenant/index.vue b/apps/web-antd/src/views/system/tenant/index.vue index 670cea40..46c1dabc 100644 --- a/apps/web-antd/src/views/system/tenant/index.vue +++ b/apps/web-antd/src/views/system/tenant/index.vue @@ -210,7 +210,10 @@ const isSuperAdmin = computed(() => { placement="left" @confirm="handleSync(row)" > - + {{ $t('pages.common.sync') }} diff --git a/apps/web-antd/src/views/workflow/category/index.vue b/apps/web-antd/src/views/workflow/category/index.vue index ab506024..428ae439 100644 --- a/apps/web-antd/src/views/workflow/category/index.vue +++ b/apps/web-antd/src/views/workflow/category/index.vue @@ -123,6 +123,7 @@ function collapseAll() { {{ $t('pages.common.edit') }} diff --git a/packages/styles/src/antd/index.css b/packages/styles/src/antd/index.css index 2a70da26..793945f7 100644 --- a/packages/styles/src/antd/index.css +++ b/packages/styles/src/antd/index.css @@ -100,3 +100,27 @@ vxe表格loading 只加载表格 不加载上面的表单 .vxe-grid.is--loading::before { content: none !important; } + +/** +自定义success按钮样式 +ghost按钮专用! +*/ +.btn-success { + color: hsl(var(--success)) !important; + border-color: hsl(var(--success)) !important; +} + +.btn-success:hover { + color: hsl(var(--success) / 50%) !important; + border-color: hsl(var(--success) / 50%) !important; +} + +html.dark button[disabled].btn-success { + color: rgb(242 242 242 / 25%) !important; + border-color: hsl(240deg 3.7% 22%) !important; +} + +button[disabled].btn-success { + color: rgb(50 54 57 / 25%) !important; + border-color: hsl(240deg 5.9% 90%) !important; +}