ts-glitter 22.2.5 → 22.2.6

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
@@ -92,7 +92,7 @@ export class Entry {
92
92
  location.href = shopp;
93
93
  return;
94
94
  }
95
- if (navigator.userAgent.includes('Googlebot')) {
95
+ if (navigator.userAgent.includes('Googlebot') || navigator.userAgent.includes('Google-InspectionTool')) {
96
96
  Language.setLanguage(window.language);
97
97
  }
98
98
  if (window.language !== Language.getLanguage()) {
@@ -154,7 +154,7 @@ export class Entry {
154
154
  }
155
155
  window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : createClock();
156
156
  console.log(`Entry-time:`, window.renderClock.stop());
157
- glitter.share.editerVersion = 'V_22.2.5';
157
+ glitter.share.editerVersion = 'V_22.2.6';
158
158
  glitter.share.start = new Date();
159
159
  const vm = { appConfig: [] };
160
160
  window.saasConfig = {
package/lowcode/Entry.ts CHANGED
@@ -96,7 +96,7 @@ export class Entry {
96
96
  return;
97
97
  }
98
98
  //Google爬蟲的話語言為網址連結
99
- if(navigator.userAgent.includes('Googlebot')){
99
+ if(navigator.userAgent.includes('Googlebot') || navigator.userAgent.includes('Google-InspectionTool')){
100
100
  Language.setLanguage((window as any).language)
101
101
  }
102
102
  if ((window as any).language !== Language.getLanguage()) {
@@ -159,7 +159,7 @@ export class Entry {
159
159
  }
160
160
  (window as any).renderClock = (window as any).renderClock ?? createClock();
161
161
  console.log(`Entry-time:`, (window as any).renderClock.stop());
162
- glitter.share.editerVersion = 'V_22.2.5';
162
+ glitter.share.editerVersion = 'V_22.2.6';
163
163
  glitter.share.start = new Date();
164
164
  const vm = { appConfig: [] };
165
165
  (window as any).saasConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "22.2.5",
3
+ "version": "22.2.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {