Sign in
简柏林
/
thingskit-front
·
Commits
GitLab
Go to dashboard
Project
Activity
Files
Commits
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Network
Download as
Email Patches
Plain Diff
Browse Files
Commit
ded722c4f287ab59ea442b35d88c097455433062
Authored by
fengwotao
2023-10-24 17:18:47 +0800
1 parent
80b43952
fix: 修改设备列表分页和设备分布分页,初始化传deviceProfileIds:null问题
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
src/views/device/list/index.vue
src/views/device/localtion/index.vue
src/views/device/list/index.vue
View file @
ded722c
...
...
@@ -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
...{
...
...
src/views/device/localtion/index.vue
View file @
ded722c
...
...
@@ -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,
...
...