isdata-customer-sdk 0.1.84 → 0.1.85
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.umd.js
CHANGED
|
@@ -29578,6 +29578,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29578
29578
|
getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
|
|
29579
29579
|
getAuthPic: function() { return /* reexport */ getAuthPic; },
|
|
29580
29580
|
getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
|
|
29581
|
+
getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
|
|
29581
29582
|
getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
|
|
29582
29583
|
getDifyFileType: function() { return /* reexport */ getDifyFileType; },
|
|
29583
29584
|
getFileSize: function() { return /* reexport */ getFileSize; },
|
|
@@ -29813,10 +29814,14 @@ let prefixPath = window.prefixPath || "";
|
|
|
29813
29814
|
const getPoratlAppID = () => {
|
|
29814
29815
|
let portal_app_id = window.sessionStorage.getItem("iportal_app_id");
|
|
29815
29816
|
if (!portal_app_id) {
|
|
29816
|
-
portal_app_id =
|
|
29817
|
+
portal_app_id = getCurrentAppID();
|
|
29817
29818
|
}
|
|
29818
29819
|
return portal_app_id;
|
|
29819
29820
|
};
|
|
29821
|
+
const getCurrentAppID = () => {
|
|
29822
|
+
let app_id = window.appSdk.getAppId() || window.localStorage.MobileAppId;
|
|
29823
|
+
return app_id;
|
|
29824
|
+
};
|
|
29820
29825
|
|
|
29821
29826
|
/**
|
|
29822
29827
|
* 取门户应用菜单数据
|