Browse Source

fix:格式化代码

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

1
src/components/audit/History.vue

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

6
src/stores/debugStore.ts

@ -1,8 +1,8 @@
import { defineStore } from 'pinia'
import { ref } from 'vue'/**
*
* @module useHomeStore
*/
*
* @module useHomeStore
*/
export const useDebugStore = defineStore('debug', () => {
// 状态定义
const debugPageState = ref<Debug.DebugPageState>()

4
src/views/gas/index.vue

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

Loading…
Cancel
Save