@cloudbase/lowcode-builder 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/lowcode-builder",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
|
|
5
5
|
"author": "yhsunshining@gmail.com",
|
|
6
6
|
"homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
crossorigin
|
|
476
476
|
src="<%=
|
|
477
477
|
cdnEndpoints.cdngo
|
|
478
|
-
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.
|
|
478
|
+
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.ccc8cf9b70a10613d046.bundle.js"
|
|
479
479
|
></script>
|
|
480
480
|
</body>
|
|
481
481
|
</html>
|
|
@@ -306,8 +306,9 @@ async function getAccessPermission(app, appId, pageId) {
|
|
|
306
306
|
AppResourceId: appId,
|
|
307
307
|
},
|
|
308
308
|
});
|
|
309
|
-
if (Array.isArray(res)
|
|
310
|
-
const
|
|
309
|
+
if (Array.isArray(res)) {
|
|
310
|
+
const resourceInfo = res.find((i) => i.ResourceId === cacheKey);
|
|
311
|
+
const isAccess = !!resourceInfo?.IsAccess;
|
|
311
312
|
_AUTH_CACHE_MAP[cacheKey] = isAccess;
|
|
312
313
|
return isAccess;
|
|
313
314
|
} else {
|