Browse Source

fix:格式化代码

master
白凤吉 4 days ago
parent
commit
d90d22d08c
  1. 1
      src/components/audit/History.vue
  2. 4
      src/views/gas/index.vue

1
src/components/audit/History.vue

@ -3,7 +3,6 @@
import { syncSendCmd } from 'apis/system' import { syncSendCmd } from 'apis/system'
import { ElLoading } from 'element-plus' import { ElLoading } from 'element-plus'
import { FtMessage } from 'libs/message' import { FtMessage } from 'libs/message'
import { useSystemStore } from 'stores/systemStore'
import { onMounted, ref } from 'vue' import { onMounted, ref } from 'vue'
import HistoryDetail from '../setting/HistoryDetail.vue' import HistoryDetail from '../setting/HistoryDetail.vue'

4
src/views/gas/index.vue

@ -60,7 +60,9 @@ const selectChannel = (channel: string, event: any) => {
stroke-linecap="round" stroke-linecap="round"
/> />
</svg> </svg>
<h3 class="status-text">{{ gasStore.isOnline ? '已连接' : '未连接' }}</h3>
<h3 class="status-text">
{{ gasStore.isOnline ? '已连接' : '未连接' }}
</h3>
</div> </div>
<div class="status-info"> <div class="status-info">
<h3>当前通道{{ gasStore.currentChannel === gasStore.channelSwitcherMap[0] ? '降解通道' : gasStore.currentChannel === gasStore.channelSwitcherMap[1] ? '消毒通道' : '除湿通道' }}</h3> <h3>当前通道{{ gasStore.currentChannel === gasStore.channelSwitcherMap[0] ? '降解通道' : gasStore.currentChannel === gasStore.channelSwitcherMap[1] ? '消毒通道' : '除湿通道' }}</h3>

Loading…
Cancel
Save