ts-glitter 13.8.737 → 13.8.738
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.ts +1 -1
- package/lowcode/jspage/editor.ts +2 -2
- package/package.json +1 -1
package/lowcode/Entry.ts
CHANGED
|
@@ -68,7 +68,7 @@ export class Entry {
|
|
|
68
68
|
}
|
|
69
69
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
70
70
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
71
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
71
|
+
glitter.share.editerVersion = 'V_13.8.738';
|
|
72
72
|
glitter.share.start = new Date();
|
|
73
73
|
const vm: {
|
|
74
74
|
appConfig: any;
|
package/lowcode/jspage/editor.ts
CHANGED
|
@@ -111,7 +111,7 @@ export class Editor {
|
|
|
111
111
|
const url = new URL(href);
|
|
112
112
|
(window.parent as any).glitter.openNewTab(url.href);
|
|
113
113
|
} else if (gvc.glitter.getUrlParameter('device') === 'mobile') {
|
|
114
|
-
if (document.body.clientWidth <
|
|
114
|
+
if (document.body.clientWidth < 920) {
|
|
115
115
|
glitter.openNewTab(`${glitter.root_path}index-mobile?appName=${(window as any).appName}&device=mobile`);
|
|
116
116
|
} else {
|
|
117
117
|
BgWidget.appPreview({
|
|
@@ -125,7 +125,7 @@ export class Editor {
|
|
|
125
125
|
const url = new URL('', glitter.share.editorViewModel.domain ? `https://${glitter.share.editorViewModel.domain}/?page=index` : location.href);
|
|
126
126
|
url.searchParams.delete('type');
|
|
127
127
|
url.searchParams.set('page', glitter.getUrlParameter('page'));
|
|
128
|
-
if (document.body.clientWidth <
|
|
128
|
+
if (document.body.clientWidth < 922 && Storage.view_type === 'desktop' && gvc.glitter.deviceType === gvc.glitter.deviceTypeEnum.Ios) {
|
|
129
129
|
url.searchParams.set('_preview_width', '1300');
|
|
130
130
|
url.searchParams.set('_preview_scale', `${(document.body.clientWidth / 1300).toFixed(2)}`);
|
|
131
131
|
}
|