src/views/wel/farming.vue
@@ -227,6 +227,7 @@ computed: { ...mapState({ userInfo: (state) => state.user.userInfo, $farmId: state => state.user.$farmId, }), }, watch: { @@ -291,7 +292,7 @@ this.visible = true; var that = this; //获取农地数据 getLandList(this.userInfo.dept_id).then((res) => { getLandList(this.$farmId).then((res) => { if (res.data.code == 200) { var landIdcolumn = that.findObject(that.option.column, "landId"); that.landList = res.data.data;