ts-glitter 20.9.9 → 21.0.0
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/lowcode/Entry.js +2 -1
- package/lowcode/Entry.ts +2 -1
- package/package.json +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -22,6 +22,7 @@ import { ApplicationConfig } from './application-config.js';
|
|
|
22
22
|
export class Entry {
|
|
23
23
|
static onCreate(glitter) {
|
|
24
24
|
config.url = location.origin;
|
|
25
|
+
window.glitterBackend = location.origin;
|
|
25
26
|
const originalReplaceState = history.replaceState;
|
|
26
27
|
let last_replace = '';
|
|
27
28
|
window.history.replaceState = function (data, unused, url) {
|
|
@@ -145,7 +146,7 @@ export class Entry {
|
|
|
145
146
|
}
|
|
146
147
|
window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : createClock();
|
|
147
148
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
148
|
-
glitter.share.editerVersion = '
|
|
149
|
+
glitter.share.editerVersion = 'V_21.0.0';
|
|
149
150
|
glitter.share.start = new Date();
|
|
150
151
|
const vm = { appConfig: [] };
|
|
151
152
|
window.saasConfig = {
|
package/lowcode/Entry.ts
CHANGED
|
@@ -17,6 +17,7 @@ export class Entry {
|
|
|
17
17
|
public static onCreate(glitter: Glitter) {
|
|
18
18
|
//設定後端路徑API
|
|
19
19
|
config.url=location.origin;
|
|
20
|
+
(window as any).glitterBackend=location.origin;
|
|
20
21
|
const originalReplaceState = history.replaceState;
|
|
21
22
|
let last_replace='';
|
|
22
23
|
window.history.replaceState = function(data: any, unused: string, url?: string | URL | null) {
|
|
@@ -148,7 +149,7 @@ export class Entry {
|
|
|
148
149
|
}
|
|
149
150
|
(window as any).renderClock = (window as any).renderClock ?? createClock();
|
|
150
151
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
151
|
-
glitter.share.editerVersion = '
|
|
152
|
+
glitter.share.editerVersion = 'V_21.0.0';
|
|
152
153
|
glitter.share.start = new Date();
|
|
153
154
|
const vm = { appConfig: [] };
|
|
154
155
|
(window as any).saasConfig = {
|