ts-glitter 14.6.36 → 14.6.38

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
@@ -80,7 +80,7 @@ export class Entry {
80
80
  }
81
81
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
82
82
  console.log(`Entry-time:`, window.renderClock.stop());
83
- glitter.share.editerVersion = 'V_14.6.36';
83
+ glitter.share.editerVersion = 'V_14.6.38';
84
84
  glitter.share.start = new Date();
85
85
  const vm = {
86
86
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -82,7 +82,7 @@ export class Entry {
82
82
 
83
83
  (window as any).renderClock = (window as any).renderClock ?? clockF();
84
84
  console.log(`Entry-time:`, (window as any).renderClock.stop());
85
- glitter.share.editerVersion = 'V_14.6.36';
85
+ glitter.share.editerVersion = 'V_14.6.38';
86
86
  glitter.share.start = new Date();
87
87
  const vm: {
88
88
  appConfig: any;
@@ -906,11 +906,16 @@ export class ShoppingCollections {
906
906
  dialog.infoMessage({ text: '未設定導向網址' });
907
907
  return;
908
908
  }
909
- if (CheckInput.isEmpty(vm.data.code)) {
910
- dialog.infoMessage({ text: '請輸入分類連結' });
911
- return;
912
- }
913
- if (!CheckInput.isChineseEnglishNumberHyphen(vm.data.code)) {
909
+ if (window.parent.store_info.language_setting.support.find((dd) => {
910
+ if (!CheckInput.isChineseEnglishNumberHyphen(vm.data.language_data[dd].seo.domain)) {
911
+ select_lan = dd;
912
+ return true;
913
+ }
914
+ else {
915
+ return false;
916
+ }
917
+ })) {
918
+ refresh();
914
919
  dialog.infoMessage({ text: '連結僅限使用中英文數字與連接號' });
915
920
  return;
916
921
  }
@@ -1055,12 +1055,15 @@ export class ShoppingCollections {
1055
1055
  dialog.infoMessage({text: '未設定導向網址'});
1056
1056
  return;
1057
1057
  }
1058
- if (CheckInput.isEmpty(vm.data.code)) {
1059
- dialog.infoMessage({text: '請輸入分類連結'});
1060
- return;
1061
- }
1062
-
1063
- if (!CheckInput.isChineseEnglishNumberHyphen(vm.data.code)) {
1058
+ if ((window.parent as any).store_info.language_setting.support.find((dd: any) => {
1059
+ if(!CheckInput.isChineseEnglishNumberHyphen((vm.data.language_data as any)[dd].seo.domain)){
1060
+ select_lan=dd
1061
+ return true
1062
+ }else{
1063
+ return false
1064
+ }
1065
+ })) {
1066
+ refresh()
1064
1067
  dialog.infoMessage({text: '連結僅限使用中英文數字與連接號'});
1065
1068
  return;
1066
1069
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "14.6.36",
3
+ "version": "14.6.38",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {