Skip to content

Commit acfa2a1

Browse files
fixed lowcoder-comps agora loading
1 parent b565318 commit acfa2a1

File tree

4 files changed

+207
-329
lines changed

4 files changed

+207
-329
lines changed

client/packages/lowcoder/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@
3636
"@types/react-signature-canvas": "^1.0.2",
3737
"@types/react-test-renderer": "^18.0.0",
3838
"@types/react-virtualized": "^9.21.21",
39-
"agora-access-token": "^2.0.4",
40-
"agora-rtc-sdk-ng": "^4.20.2",
41-
"agora-rtm-sdk": "^1.5.1",
4239
"antd": "5.13.2",
4340
"axios": "^1.6.2",
4441
"buffer": "^6.0.3",

client/packages/lowcoder/src/comps/comps/remoteComp/loaders.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ async function npmLoader(
1515
const localPackageVersion = remoteInfo.packageVersion || "latest";
1616

1717
const { packageName, packageVersion, compName } = remoteInfo;
18-
const entry = `${NPM_PLUGIN_ASSETS_BASE_URL}/${packageName}@${localPackageVersion}/index.js`;
19-
// const entry = `../../../../../public/package/index.js`;
18+
// const entry = `${NPM_PLUGIN_ASSETS_BASE_URL}/${packageName}@${localPackageVersion}/index.js`;
19+
const entry = `../../../../../public/package/index.js`;
2020
// console.log("Entry", entry);
2121
try {
2222
const module = await import(

client/packages/lowcoder/src/comps/hooks/agoraFunctions.tsx

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)