ts-glitter 16.4.6 → 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.6';
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.6';
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]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "16.4.6",
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