fix: 갱신시 턴 실행기도 같이 갱신(wip)

This commit is contained in:
2023-03-09 02:20:16 +09:00
parent 9a447b0254
commit deaf867314
+7 -1
View File
@@ -71,7 +71,7 @@
/> />
</div> </div>
<div class="reservedCommandZone"> <div class="reservedCommandZone">
<PartialReservedCommand /> <PartialReservedCommand ref="reservedCommandPanel" />
</div> </div>
<div v-if="frontInfo" class="cityInfo"> <div v-if="frontInfo" class="cityInfo">
<CityBasicCard :city="frontInfo.city" /> <CityBasicCard :city="frontInfo.city" />
@@ -413,6 +413,12 @@ watch(refreshCounter, async () => {
}); });
} }
}); });
const reservedCommandPanel = ref<InstanceType<typeof PartialReservedCommand> | null>(null);
watch(refreshCounter, async() => {
reservedCommandPanel.value?.reloadCommandList();
});
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@scss/common/break_500px.scss"; @import "@scss/common/break_500px.scss";