ts-glitter 16.4.3 → 16.4.5
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
CHANGED
|
@@ -79,7 +79,7 @@ export class Entry {
|
|
|
79
79
|
}
|
|
80
80
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
81
81
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
82
|
-
glitter.share.editerVersion = 'V_16.4.
|
|
82
|
+
glitter.share.editerVersion = 'V_16.4.5';
|
|
83
83
|
glitter.share.start = new Date();
|
|
84
84
|
const vm = {
|
|
85
85
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -78,7 +78,7 @@ export class Entry {
|
|
|
78
78
|
}
|
|
79
79
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
80
80
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
81
|
-
glitter.share.editerVersion = 'V_16.4.
|
|
81
|
+
glitter.share.editerVersion = 'V_16.4.5';
|
|
82
82
|
glitter.share.start = new Date();
|
|
83
83
|
const vm: {
|
|
84
84
|
appConfig: any;
|
|
@@ -468,6 +468,11 @@ export function init(metaURL, fun) {
|
|
|
468
468
|
background: ${cf.pageConfig.backGroundColor};z-index: 9999;overflow: hidden;display:none;" class="page-box">
|
|
469
469
|
${lifeCycle.onCreateView()}
|
|
470
470
|
</div>`);
|
|
471
|
+
[0, 100, 200, 300, 400, 500].map((dd) => {
|
|
472
|
+
setTimeout(() => {
|
|
473
|
+
document.querySelector('html').scrollTop = 1;
|
|
474
|
+
}, dd);
|
|
475
|
+
});
|
|
471
476
|
}
|
|
472
477
|
else {
|
|
473
478
|
$('#glitterPage').append(`<div id="page${cf.pageConfig.id}" style="min-width: 100vw;min-height: 100vh;left: 0;top: 0;
|
|
@@ -496,7 +496,12 @@ export function init(metaURL: string, fun: (gvc: GVC, glitter: Glitter, gBundle:
|
|
|
496
496
|
$('#glitterPage').append(`<div id="page${cf.pageConfig.id}" style="min-width: 100vw;min-height: 100vh;left: 0;top: 0;width:100vw;
|
|
497
497
|
background: ${cf.pageConfig!.backGroundColor};z-index: 9999;overflow: hidden;display:none;" class="page-box">
|
|
498
498
|
${lifeCycle.onCreateView()}
|
|
499
|
-
</div>`)
|
|
499
|
+
</div>`);
|
|
500
|
+
[0, 100, 200, 300, 400, 500].map((dd) => {
|
|
501
|
+
setTimeout(() => {
|
|
502
|
+
document.querySelector('html')!.scrollTop=1
|
|
503
|
+
}, dd);
|
|
504
|
+
})
|
|
500
505
|
} else {
|
|
501
506
|
|
|
502
507
|
$('#glitterPage').append(`<div id="page${cf.pageConfig.id}" style="min-width: 100vw;min-height: 100vh;left: 0;top: 0;
|