修复读取场景时的bug

This commit is contained in:
shefengchun 2023-02-03 09:55:28 +08:00
parent fe3d2695a1
commit 86834823b7
1 changed files with 8 additions and 7 deletions

View File

@ -309,19 +309,19 @@ export default defineComponent({
if (res == null || res.scenes.length == 0) return
plan_list.splice(0, plan_list.length);
for (let index = 0; index < res.scenes.length; index++) {
plan_list.push(res.scenes[index]);
plan_list[index]=(res.scenes[index]);
}
})
}
onBeforeMount(() => {
setTimeout(() => {
try {
// setTimeout(() => {
// try {
} catch (error) {
erroe();
}
}, 1000);
// } catch (error) {
// erroe();
// }
// }, 1000);
});
onMounted(() => {
setTimeout(() => {
@ -346,6 +346,7 @@ export default defineComponent({
$store.commit("setfusion_configuration", res?.config);
});
get_scenes()
}, 1000);
});
const save_cover_name = ref("")