diff --git a/yanzhu-bigscreen/src/components/header.vue b/yanzhu-bigscreen/src/components/header.vue
index 905d1fba..37affc63 100644
--- a/yanzhu-bigscreen/src/components/header.vue
+++ b/yanzhu-bigscreen/src/components/header.vue
@@ -27,20 +27,20 @@
@@ -52,14 +52,17 @@
diff --git a/yanzhu-bigscreen/src/views/projectDetail.vue b/yanzhu-bigscreen/src/views/projectDetail.vue
index 92161cb2..7260dfb0 100644
--- a/yanzhu-bigscreen/src/views/projectDetail.vue
+++ b/yanzhu-bigscreen/src/views/projectDetail.vue
@@ -552,8 +552,7 @@ export default {
this.init()
})
)
- this.selProject = this.$store.getters.selProject
- this.init()
+ this.selProject = this.$store.getters.selProject
this.dpi = this.$dpi()
window.addEventListener('resize', () => {
if (this.dpi != this.$dpi()) {
@@ -564,6 +563,7 @@ export default {
this.costInterval = setInterval(this.manufacturingCostRoll, 5000)
this.$api.weather.getCityInfo().then((d) => {
this.cityInfo = d.data?.city || []
+ this.init()
})
},
methods: {