优化代码

This commit is contained in:
wuxw 2024-02-01 22:40:03 +08:00
parent 92731846a0
commit 4be3b1b9e3

View File

@ -111,13 +111,15 @@
params: { params: {
page: 1, page: 1,
row: 100, row: 100,
communityId: vc.getCurrentCommunity().communityId communityId: vc.getCurrentCommunity().communityId,
iotApiCode:'listAccessControlBmoImpl',
} }
}; };
$that.accessControlInoutInfo.accessControls = []; $that.accessControlInoutInfo.accessControls = [];
//发送get请求 //发送get请求
vc.http.apiGet('/accessControl.listAccessControl', vc.http.apiGet('/iot.getOpenApi',
param, param,
function(json, res) { function(json, res) {
let _accessControlManageInfo = JSON.parse(json); let _accessControlManageInfo = JSON.parse(json);