ts-glitter 13.8.832 → 13.8.833
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
|
@@ -70,7 +70,7 @@ export class Entry {
|
|
|
70
70
|
}
|
|
71
71
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
72
72
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
73
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
73
|
+
glitter.share.editerVersion = 'V_13.8.833';
|
|
74
74
|
glitter.share.start = new Date();
|
|
75
75
|
const vm = {
|
|
76
76
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -71,7 +71,7 @@ export class Entry {
|
|
|
71
71
|
}
|
|
72
72
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
73
73
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
74
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
74
|
+
glitter.share.editerVersion = 'V_13.8.833';
|
|
75
75
|
glitter.share.start = new Date();
|
|
76
76
|
const vm: {
|
|
77
77
|
appConfig: any;
|
|
@@ -2053,7 +2053,19 @@ export class ShoppingProductSetting {
|
|
|
2053
2053
|
BgWidget.container(html `
|
|
2054
2054
|
<div class="title-container">
|
|
2055
2055
|
${BgWidget.goBack(obj.gvc.event(() => {
|
|
2056
|
-
|
|
2056
|
+
if (window.parent.glitter.share.checkData && (!window.parent.glitter.share.checkData())) {
|
|
2057
|
+
const dialog = new ShareDialog(gvc.glitter);
|
|
2058
|
+
dialog.checkYesOrNot({
|
|
2059
|
+
text: '尚未儲存內容,是否確認跳轉?', callback: (response) => {
|
|
2060
|
+
if (response) {
|
|
2061
|
+
obj.vm.type = 'list';
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
});
|
|
2065
|
+
}
|
|
2066
|
+
else {
|
|
2067
|
+
obj.vm.type = 'list';
|
|
2068
|
+
}
|
|
2057
2069
|
}))}
|
|
2058
2070
|
<h3 class="mb-0 me-3 tx_title">${obj.type === 'replace' ? postMD.title || '編輯商品' : `新增商品`}</h3>
|
|
2059
2071
|
<div class="flex-fill"></div>
|
|
@@ -2409,7 +2409,18 @@ export class ShoppingProductSetting {
|
|
|
2409
2409
|
<div class="title-container">
|
|
2410
2410
|
${BgWidget.goBack(
|
|
2411
2411
|
obj.gvc.event(() => {
|
|
2412
|
-
|
|
2412
|
+
if ((window.parent as any).glitter.share.checkData && (!(window.parent as any).glitter.share.checkData())) {
|
|
2413
|
+
const dialog = new ShareDialog(gvc.glitter)
|
|
2414
|
+
dialog.checkYesOrNot({
|
|
2415
|
+
text: '尚未儲存內容,是否確認跳轉?', callback: (response) => {
|
|
2416
|
+
if(response){
|
|
2417
|
+
obj.vm.type = 'list';
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
2420
|
+
})
|
|
2421
|
+
}else{
|
|
2422
|
+
obj.vm.type = 'list';
|
|
2423
|
+
}
|
|
2413
2424
|
})
|
|
2414
2425
|
)}
|
|
2415
2426
|
<h3 class="mb-0 me-3 tx_title">${obj.type === 'replace' ? postMD.title || '編輯商品' : `新增商品`}</h3>
|