ts-glitter 16.4.5 → 16.4.7

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.5';
82
+ glitter.share.editerVersion = 'V_16.4.7';
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.5';
81
+ glitter.share.editerVersion = 'V_16.4.7';
82
82
  glitter.share.start = new Date();
83
83
  const vm: {
84
84
  appConfig: any;
@@ -258,8 +258,7 @@ export class ProductExcel {
258
258
  },
259
259
  template: '',
260
260
  };
261
- console.log(`id_list=>`, id_list);
262
- productData.id = id_list[postMD.length - 1];
261
+ productData.id = id_list[postMD.length];
263
262
  productData.title = this.checkString(row[0]);
264
263
  productData.status = row[1] == '啟用' ? 'active' : 'draft';
265
264
  productData.collection = (_a = row[2].split(',')) !== null && _a !== void 0 ? _a : [];
@@ -360,8 +360,7 @@ export class ProductExcel {
360
360
  },
361
361
  template: '',
362
362
  };
363
- console.log(`id_list=>`,id_list)
364
- productData.id=id_list[postMD.length-1];
363
+ productData.id=id_list[postMD.length];
365
364
  productData.title = this.checkString(row[0]);
366
365
  productData.status = row[1] == '啟用' ? 'active' : 'draft';
367
366
  productData.collection = row[2].split(',') ?? [];
@@ -401,7 +400,7 @@ export class ProductExcel {
401
400
  addCollection.push(collection);
402
401
  });
403
402
  productData.collection = addCollection;
404
- appendCollection=appendCollection.concat(addCollection).filter((dd)=>{
403
+ appendCollection=appendCollection.concat(addCollection).filter((dd:any)=>{
405
404
  return dd
406
405
  })
407
406
  switch (row[3]) {
@@ -468,11 +468,7 @@ 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
+ document.querySelector('html').scrollTop = 1;
476
472
  }
477
473
  else {
478
474
  $('#glitterPage').append(`<div id="page${cf.pageConfig.id}" style="min-width: 100vw;min-height: 100vh;left: 0;top: 0;
@@ -497,11 +497,7 @@ export function init(metaURL: string, fun: (gvc: GVC, glitter: Glitter, gBundle:
497
497
  background: ${cf.pageConfig!.backGroundColor};z-index: 9999;overflow: hidden;display:none;" class="page-box">
498
498
  ${lifeCycle.onCreateView()}
499
499
  </div>`);
500
- [0, 100, 200, 300, 400, 500].map((dd) => {
501
- setTimeout(() => {
502
- document.querySelector('html')!.scrollTop=1
503
- }, dd);
504
- })
500
+ document.querySelector('html')!.scrollTop=1
505
501
  } else {
506
502
 
507
503
  $('#glitterPage').append(`<div id="page${cf.pageConfig.id}" style="min-width: 100vw;min-height: 100vh;left: 0;top: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "16.4.5",
3
+ "version": "16.4.7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/test CHANGED
@@ -11,4 +11,7 @@ GRANT ALL PRIVILEGES ON *.* TO 'liondesign'@'%';
11
11
 
12
12
  52.197.107.145
13
13
 
14
- 34.81.28.192
14
+ 34.81.28.192
15
+
16
+
17
+ https://asia-east1-shopnex-447104.cloudfunctions.net/recover