| public/pages/property/assetImport/assetImport.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
public/pages/property/assetImport/assetImport.js
@@ -61,8 +61,14 @@ // return; // } // 重新获取当前社区的ID,确保使用的是最新的社区ID let currentCommunityId = vc.getCurrentCommunity().communityId; let currentCommunity = vc.getCurrentCommunity(); if (!currentCommunity || !currentCommunity.communityId) { vc.toast('无法获取当前社区信息,请重新选择社区'); return; } let currentCommunityId = currentCommunity.communityId; console.log('当前社区ID:', currentCommunityId); console.log('当前社区信息:', currentCommunity); var param = new FormData(); param.append("uploadFile", vc.component.assetImportInfo.excelTemplate);