src/views/land/cs.vue
@@ -132,14 +132,14 @@ ...mapGetters(["userInfo","$farmId"]), }, watch: { '$farmId':{ handler (newName, oldName) { this.farm.id = newName //地块页面 this.onLoad() } } }, '$farmId':{ handler (newName, oldName) { this.farm.id = newName //地块页面 this.onLoad() } } }, created () { this.farm.id = this.$farmId this.onLoad(this.page)