src/views/device/locks/task.vue
@@ -1,5 +1,5 @@ <script setup name="LockTask"> import { ref, onMounted, reactive, computed, watchEffect, nextTick } from "vue"; import { ref, onActivated, reactive, computed, watchEffect, nextTick } from "vue"; import addTask from "./addTask.vue"; import { getLockBl, @@ -99,7 +99,7 @@ getList(); } onMounted(() => { onActivated(() => { getList(); }); </script>