Commit d49b977e2490616d6d6d0e5782778de424ecc73d

Authored by loveumiko
1 parent fe27c91c

fix: 修复当设备下拉刷新,下拉到底,点击设备,然后返回后设备显示不全

Showing 1 changed file with 6 additions and 4 deletions
... ... @@ -69,15 +69,17 @@
69 69 this.conditions = {
70 70 deviceState: params
71 71 }
72   - this.loadData(1, {
73   - deviceState: params
74   - });
  72 + // this.loadData(1, {
  73 + // deviceState: params
  74 + // });
75 75 }
76 76 },
77 77 onShow() {
  78 + console.log(2)
78 79 if (getApp().getBindNot()) {
79 80 return
80 81 }
  82 + this.page.num=1
81 83 if (this.ordId) {
82 84 this.loadData(1, {
83 85 organizationId: this.ordId
... ... @@ -87,7 +89,7 @@
87 89 }
88 90 return
89 91 }
90   - this.loadData(1);
  92 + this.loadData(this.page.num,this.conditions);
91 93 },
92 94 methods: {
93 95 inputChanged(e) {
... ...