ts-glitter 16.4.4 → 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.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.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;
@@ -64,13 +64,6 @@ function traverseHTML(element, document) {
64
64
  loop(element);
65
65
  return;
66
66
  }
67
- else {
68
- [0, 100, 200, 300, 400, 500, 600, 700].map((dd) => {
69
- setTimeout(() => {
70
- document.querySelector('html').scrollTop = 1;
71
- }, dd);
72
- });
73
- }
74
67
  pageConfig && (pageConfig.initial = true);
75
68
  }
76
69
  }
@@ -79,13 +79,6 @@ function traverseHTML(element: any, document: any) {
79
79
  loop(element);
80
80
 
81
81
  return;
82
- }else{
83
- [0, 100, 200, 300, 400, 500, 600, 700].map((dd) => {
84
- setTimeout(() => {
85
- document.querySelector('html').scrollTop=1
86
- }, dd);
87
- })
88
-
89
82
  }
90
83
  pageConfig && (pageConfig.initial = true);
91
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "16.4.4",
3
+ "version": "16.4.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {