fix:bug解决
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="device-page">
|
||||
<view class="device-page" :class="{ 'device-page--scroll-lock': homePickerOpen }">
|
||||
<device-header
|
||||
:home-name="homeName"
|
||||
:home-id="homeId"
|
||||
@@ -9,6 +9,7 @@
|
||||
@notify="onNotify"
|
||||
@add-device="onStartBind"
|
||||
@scan="onScan"
|
||||
@picker-open-change="homePickerOpen = $event"
|
||||
/>
|
||||
<room-tabs
|
||||
:rooms="rooms"
|
||||
@@ -43,6 +44,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import { useTabPage } from '@/hooks/use-tab-page'
|
||||
import DeviceEmpty from './components/device-empty/index.vue'
|
||||
import DeviceHeader from './components/device-header/index.vue'
|
||||
@@ -54,6 +56,7 @@ import RoomTabs from './components/room-tabs/index.vue'
|
||||
import { useDevice } from './use-device'
|
||||
|
||||
const { tabCurrent } = useTabPage('device')
|
||||
const homePickerOpen = ref(false)
|
||||
|
||||
const {
|
||||
homeName,
|
||||
|
||||
Reference in New Issue
Block a user