isdata-customer-sdk 0.1.21 → 0.1.22
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/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +5 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5061,6 +5061,11 @@ const getPoratlAppID = (isPortalAction, appVariables) => {
|
|
|
5061
5061
|
}
|
|
5062
5062
|
});
|
|
5063
5063
|
}
|
|
5064
|
+
// 如果appVariables中也没有,则从window.appSdk.getAppId()获取
|
|
5065
|
+
// 这通常是因为在非门户应用中使用了门户相关的功能
|
|
5066
|
+
if (!portal_app_id) {
|
|
5067
|
+
portal_app_id = window.appSdk.getAppId();
|
|
5068
|
+
}
|
|
5064
5069
|
}
|
|
5065
5070
|
return portal_app_id;
|
|
5066
5071
|
};
|