@laiye_packages/uci 1.0.1 → 1.0.2
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 +2 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10279,15 +10279,8 @@ class base_LYBaseApp extends LYObject {
|
|
|
10279
10279
|
}
|
|
10280
10280
|
}
|
|
10281
10281
|
try {
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
console.log("parts:", parts, url);
|
|
10285
|
-
const index = parts.findIndex((part)=>'view' === part);
|
|
10286
|
-
if (-1 === index) throw new Error('view not found in URL');
|
|
10287
|
-
let tenantName = parts[index + 2];
|
|
10288
|
-
if (!tenantName) throw new Error('tenantName not found');
|
|
10289
|
-
baseUrl = `${window.origin}/view/${this.name}/${tenantName}`;
|
|
10290
|
-
this._tenantName = tenantName;
|
|
10282
|
+
baseUrl = `${window.origin}/view/${this.name}/laiye`;
|
|
10283
|
+
this._tenantName = "laiye";
|
|
10291
10284
|
return baseUrl;
|
|
10292
10285
|
} catch (error) {
|
|
10293
10286
|
console.error('Error getting base URL:', error);
|