修改首部无数据效果

This commit is contained in:
jsy_zjg 2025-02-13 12:33:26 +08:00
parent 11ac07d76f
commit 36415abaca

View File

@ -54,7 +54,6 @@
<!-- 地块选择 -->
<custom-select-land ref="landRef" :data="ijs.companys" :defaultSelect="ijs.land" @getLand="getLand"
@select="landChange" />
</template>
<script>
import {
@ -84,13 +83,15 @@
this.landName = this.ijs.land.landName;
this.query.landId = this.ijs.land.id;
this.queryList();
}else{
this.query.landId = -1;
this.queryList();
}
},
methods: {
queryList() {
if (this.query.landId) {
getHeadDeviceList(this.query.landId).then(res => {
console.log(res)
this.$refs.paging.complete(res.data)
});
}