openxiangda 1.0.47 → 1.0.48
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 +1 -1
- package/packages/sdk/dist/components/index.cjs +5 -0
- package/packages/sdk/dist/components/index.cjs.map +1 -1
- package/packages/sdk/dist/components/index.mjs +5 -0
- package/packages/sdk/dist/components/index.mjs.map +1 -1
- package/packages/sdk/dist/runtime/index.cjs +5 -0
- package/packages/sdk/dist/runtime/index.cjs.map +1 -1
- package/packages/sdk/dist/runtime/index.mjs +5 -0
- package/packages/sdk/dist/runtime/index.mjs.map +1 -1
|
@@ -41851,6 +41851,11 @@ var normalizeBasePath = (basePath) => {
|
|
|
41851
41851
|
var inferBasePath = (appType) => {
|
|
41852
41852
|
if (typeof window === "undefined") return "";
|
|
41853
41853
|
const pathname = window.location?.pathname || "";
|
|
41854
|
+
const submitMarker = `/submit/${appType}/`;
|
|
41855
|
+
const submitMarkerIndex = pathname.indexOf(submitMarker);
|
|
41856
|
+
if (submitMarkerIndex > 0) {
|
|
41857
|
+
return pathname.slice(0, submitMarkerIndex);
|
|
41858
|
+
}
|
|
41854
41859
|
const marker = `/${appType}/`;
|
|
41855
41860
|
const markerIndex = pathname.indexOf(marker);
|
|
41856
41861
|
if (markerIndex <= 0) return "";
|