Commit 8ca32cbca35abe77188c5ff6772a649dab4ee7bc

Authored by xp.Huang
2 parents 9770ceb3 adeccec4

Merge branch 'ft-dev' into 'main'

fix:DEFECT-423 修复设备页面,点击组织筛选返回后,在上拉加载下一页数据错误问题

See merge request huang/thingskit-app!65
Showing 1 changed file with 3 additions and 1 deletions
... ... @@ -232,6 +232,7 @@ export default {
232 232 /*下拉刷新的回调 */
233 233 downCallback() {
234 234 this.deviceName = '';
  235 + this.orgId = '';
235 236 //联网加载数据
236 237 this.list = [];
237 238 this.page.num = 1;
... ... @@ -251,7 +252,8 @@ export default {
251 252 deviceState: deviceState.type ? deviceState.type : undefined,
252 253 deviceType: deviceType.type ? deviceType.type : undefined,
253 254 alarmStatus: alarmStatus.type === '0' || alarmStatus.type === '1' ? alarmStatus.type : undefined,
254   - name: this.deviceName == null ? null : this.deviceName
  255 + name: this.deviceName == null ? null : this.deviceName,
  256 + organizationId: this.orgId == null ? null : this.orgId
255 257 });
256 258 },
257 259
... ...