From 53310b6f8b2274c3d68674648446451761edea21 Mon Sep 17 00:00:00 2001 From: he wei <858544502@qq.com> Date: 星期五, 25 四月 2025 10:07:35 +0800 Subject: [PATCH] U onActivated' --- src/views/device/locks/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/device/locks/index.vue b/src/views/device/locks/index.vue index 77047e5..2c7d810 100644 --- a/src/views/device/locks/index.vue +++ b/src/views/device/locks/index.vue @@ -1,5 +1,5 @@ <script setup name="LockManage"> - import { ref, onMounted, reactive, computed, watchEffect, nextTick } from "vue"; + import { ref, onActivated, reactive, computed, watchEffect, nextTick } from "vue"; import useStation from "@/hooks/useStationList.js"; const { stationName1, stationName2, stationName3, stationName4, stationList1, stationList2, stationList3, stationList4, @@ -57,7 +57,7 @@ // 鏄惁鏈夋帶鍒舵潈闄� let isCanControl = isHasPermit("control_permit", permits.value); - onMounted(() => { + onActivated(() => { // setTimeout(() => { // console.log('onMounted', stationName1, stationName2, stationName3, stationName4, '============='); -- Gitblit v1.9.1