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.common.js
CHANGED
|
@@ -29568,6 +29568,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29568
29568
|
getAppPortalMenuDatas: function() { return /* reexport */ getAppPortalMenuDatas; },
|
|
29569
29569
|
getAuthPic: function() { return /* reexport */ getAuthPic; },
|
|
29570
29570
|
getChildrenOfficeInfosByID: function() { return /* reexport */ getChildrenOfficeInfosByID; },
|
|
29571
|
+
getCurrentAppID: function() { return /* reexport */ getCurrentAppID; },
|
|
29571
29572
|
getCurrentUserPortalPageID: function() { return /* reexport */ getCurrentUserPortalPageID; },
|
|
29572
29573
|
getDifyFileType: function() { return /* reexport */ getDifyFileType; },
|
|
29573
29574
|
getFileSize: function() { return /* reexport */ getFileSize; },
|
|
@@ -29803,10 +29804,14 @@ let prefixPath = window.prefixPath || "";
|
|
|
29803
29804
|
const getPoratlAppID = () => {
|
|
29804
29805
|
let portal_app_id = window.sessionStorage.getItem("iportal_app_id");
|
|
29805
29806
|
if (!portal_app_id) {
|
|
29806
|
-
portal_app_id =
|
|
29807
|
+
portal_app_id = getCurrentAppID();
|
|
29807
29808
|
}
|
|
29808
29809
|
return portal_app_id;
|
|
29809
29810
|
};
|
|
29811
|
+
const getCurrentAppID = () => {
|
|
29812
|
+
let app_id = window.appSdk.getAppId() || window.localStorage.MobileAppId;
|
|
29813
|
+
return app_id;
|
|
29814
|
+
};
|
|
29810
29815
|
|
|
29811
29816
|
/**
|
|
29812
29817
|
* 取门户应用菜单数据
|