mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-01 03:28:59 +08:00
style: 表头设置-修改恢复默认按钮的交互
--bug=1035606 --user=吕梦园 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001035606
This commit is contained in:
parent
5f0135261c
commit
3eebbed5d1
@ -67,7 +67,9 @@
|
||||
<a-divider class="!mt-[24px]" />
|
||||
<div class="mb-[4px] flex items-center justify-between">
|
||||
<div class="font-medium text-[var(--color-text-4)]">{{ t('msTable.columnSetting.header') }}</div>
|
||||
<MsButton v-if="hasChange" @click="handleReset">{{ t('msTable.columnSetting.resetDefault') }}</MsButton>
|
||||
<a-tooltip :content="t('msTable.columnSetting.default')" :disabled="hasChange">
|
||||
<MsButton :disabled="!hasChange" @click="handleReset">{{ t('msTable.columnSetting.resetDefault') }}</MsButton>
|
||||
</a-tooltip>
|
||||
</div>
|
||||
<div class="flex flex-col gap-[4px]">
|
||||
<div
|
||||
|
@ -18,6 +18,7 @@ export default {
|
||||
clear: 'clear',
|
||||
},
|
||||
columnSetting: {
|
||||
default: 'Default',
|
||||
display: 'Table Settings',
|
||||
mode: 'Mode Settings',
|
||||
drawer: 'Drawer',
|
||||
|
@ -18,6 +18,7 @@ export default {
|
||||
clear: '清空',
|
||||
},
|
||||
columnSetting: {
|
||||
default: '已为默认',
|
||||
display: '表格设置',
|
||||
mode: '模式设置',
|
||||
drawer: '抽屉',
|
||||
|
Loading…
Reference in New Issue
Block a user