feat:更新页面内容
This commit is contained in:
@@ -27,10 +27,11 @@
|
||||
<view v-else-if="loading" class="device-page__loading">
|
||||
<text class="device-page__loading-text">加载中...</text>
|
||||
</view>
|
||||
<template v-else>
|
||||
<device-empty :step-hint="bindStepHint" @bind="onStartBind" />
|
||||
<hot-devices :items="hotDevices" @mall="onGoMall" />
|
||||
</template>
|
||||
<device-empty
|
||||
v-else
|
||||
:step-hint="bindStepHint"
|
||||
@bind="onStartBind"
|
||||
/>
|
||||
|
||||
<room-location-dialog
|
||||
v-model:visible="roomDialogVisible"
|
||||
@@ -48,7 +49,6 @@ import { useTabPage } from '@/hooks/use-tab-page'
|
||||
import DeviceEmpty from './components/device-empty/index.vue'
|
||||
import DeviceHeader from './components/device-header/index.vue'
|
||||
import DeviceList from './components/device-list/index.vue'
|
||||
import HotDevices from './components/hot-devices/index.vue'
|
||||
import OperationSuccessToast from './components/operation-success-toast/index.vue'
|
||||
import RoomLocationDialog from './components/room-location-dialog/index.vue'
|
||||
import RoomTabs from './components/room-tabs/index.vue'
|
||||
@@ -67,7 +67,6 @@ const {
|
||||
onlineCount,
|
||||
hasDevices,
|
||||
loading,
|
||||
hotDevices,
|
||||
bindStepHint,
|
||||
roomDialogVisible,
|
||||
successToastVisible,
|
||||
@@ -76,7 +75,6 @@ const {
|
||||
onConfirmAddRoom,
|
||||
onStartBind,
|
||||
onScan,
|
||||
onGoMall,
|
||||
onNotify,
|
||||
onHomeManage,
|
||||
onSelectHome,
|
||||
|
||||
Reference in New Issue
Block a user