提示按钮调整

This commit is contained in:
joylink_fanyuhong 2024-11-20 10:42:51 +08:00
parent 59ffd45dfb
commit 718835302e

View File

@ -51,13 +51,26 @@
label="返回" label="返回"
@click="backConfirm" @click="backConfirm"
/> />
<q-toggle <q-btn
v-model="lineStore.faultStatistics" round
checked-icon="check" dense
color="red" flat
label="故障信息统计" :color="lineStore.faultStatistics ? 'white' : 'red'"
unchecked-icon="clear" :icon="lineStore.faultStatistics ? 'grid_on' : 'grid_off'"
/> @click="
() => {
lineStore.faultStatistics = !lineStore.faultStatistics;
}
"
>
<q-tooltip style="font-size: 14px">
{{
lineStore.faultStatistics
? '关闭故障信息统计'
: '开启故障信息统计'
}}
</q-tooltip>
</q-btn>
<q-btn <q-btn
round round
dense dense