修复当小屏时按钮显示不出问题
This commit is contained in:
@@ -851,8 +851,11 @@ onMounted(() => {
|
||||
<!-- 插槽-卡片左侧侧 -->
|
||||
<template #title>
|
||||
<a-space :size="8" align="center">
|
||||
<div class="button-container">
|
||||
|
||||
<a-button
|
||||
type="primary"
|
||||
class="primary-button"
|
||||
@click.prevent="fnCancelConfirm()"
|
||||
:disabled="state.selectedRowKeys.length <= 0"
|
||||
>
|
||||
@@ -862,7 +865,7 @@ onMounted(() => {
|
||||
{{ t('views.faultManage.activeAlarm.updateConfirm') }}
|
||||
</a-button>
|
||||
|
||||
<a-button type="primary" @click.prevent="fnSync()">
|
||||
<a-button type="primary" class="primary-button" @click.prevent="fnSync()">
|
||||
<template #icon>
|
||||
<ReloadOutlined />
|
||||
</template>
|
||||
@@ -872,6 +875,7 @@ onMounted(() => {
|
||||
<a-button
|
||||
type="primary"
|
||||
danger
|
||||
class="danger-button"
|
||||
@click.prevent="fnClear()"
|
||||
:disabled="state.selectedRowKeys.length !== 1"
|
||||
>
|
||||
@@ -881,15 +885,16 @@ onMounted(() => {
|
||||
{{ t('views.faultManage.activeAlarm.clear') }}
|
||||
</a-button>
|
||||
|
||||
<a-button type="primary" @click.prevent="fnShowSet()">
|
||||
<a-button type="primary" class="primary-button" @click.prevent="fnShowSet()">
|
||||
<template #icon> <SettingOutlined /> </template>
|
||||
{{ t('views.faultManage.activeAlarm.disPlayFilfter') }}
|
||||
</a-button>
|
||||
|
||||
<a-button type="primary" @click.prevent="fnExportAll()">
|
||||
<a-button type="primary" class="primary-button" @click.prevent="fnExportAll()">
|
||||
<template #icon> <export-outlined /> </template>
|
||||
{{ t('views.faultManage.activeAlarm.exportAll') }}
|
||||
</a-button>
|
||||
</div>
|
||||
</a-space>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user