From 86834823b7658a4d3cb3cff70b6d317d0e5400d1 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Fri, 3 Feb 2023 09:55:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=BB=E5=8F=96=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E6=97=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/FusionSettingsDialog.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/FusionSettingsDialog.vue b/src/components/FusionSettingsDialog.vue index 82aa9a9..ce064f5 100644 --- a/src/components/FusionSettingsDialog.vue +++ b/src/components/FusionSettingsDialog.vue @@ -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("")