Commit ded722c4f287ab59ea442b35d88c097455433062

Authored by fengwotao
1 parent 80b43952

fix: 修改设备列表分页和设备分布分页,初始化传deviceProfileIds:null问题

... ... @@ -308,6 +308,7 @@
308 308 columns,
309 309 beforeFetch: (params) => {
310 310 const { deviceProfileId } = params;
  311 + if (!deviceProfileId) return;
311 312 const obj = {
312 313 ...params,
313 314 ...{
... ...
... ... @@ -260,6 +260,7 @@
260 260 },
261 261 beforeFetch: (params) => {
262 262 const { deviceProfileId } = params;
  263 + if (!deviceProfileId) return;
263 264 const deviceProfileIds = [deviceProfileId];
264 265 const obj = {
265 266 ...params,
... ...