ts-glitter 21.6.5 → 21.6.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 +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/cms-plugin/account-info.js +1 -1
- package/lowcode/cms-plugin/account-info.ts +1 -1
- package/lowcode/public-components/user-manager/um-receive.js +2 -0
- package/lowcode/public-components/user-manager/um-receive.ts +1 -2
- package/package.json +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -146,7 +146,7 @@ export class Entry {
|
|
|
146
146
|
}
|
|
147
147
|
window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : createClock();
|
|
148
148
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
149
|
-
glitter.share.editerVersion = 'V_21.6.
|
|
149
|
+
glitter.share.editerVersion = 'V_21.6.6';
|
|
150
150
|
glitter.share.start = new Date();
|
|
151
151
|
const vm = { appConfig: [] };
|
|
152
152
|
window.saasConfig = {
|
package/lowcode/Entry.ts
CHANGED
|
@@ -150,7 +150,7 @@ export class Entry {
|
|
|
150
150
|
}
|
|
151
151
|
(window as any).renderClock = (window as any).renderClock ?? createClock();
|
|
152
152
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
153
|
-
glitter.share.editerVersion = 'V_21.6.
|
|
153
|
+
glitter.share.editerVersion = 'V_21.6.6';
|
|
154
154
|
glitter.share.start = new Date();
|
|
155
155
|
const vm = { appConfig: [] };
|
|
156
156
|
(window as any).saasConfig = {
|
|
@@ -139,7 +139,9 @@ export class UMReceive {
|
|
|
139
139
|
const classPrefix = 'cart-prefix';
|
|
140
140
|
CartModule.addStyle(gvc, classPrefix);
|
|
141
141
|
Promise.all([ApiUser.getUserData(GlobalUser.token, 'me'), this.funnyQuickFormFrame(classPrefix)]).then(dataArray => {
|
|
142
|
+
var _a;
|
|
142
143
|
vm.userData = dataArray[0].response.userData;
|
|
144
|
+
vm.userData.receive_list = (_a = vm.userData.receive_list) !== null && _a !== void 0 ? _a : [];
|
|
143
145
|
if (vm.userData.receive_list) {
|
|
144
146
|
vm.dataList = [...vm.userData.receive_list, ...new Array(3 - vm.userData.receive_list.length).fill({})];
|
|
145
147
|
}
|
|
@@ -104,7 +104,6 @@ export class UMReceive {
|
|
|
104
104
|
.filter((data: any) => {
|
|
105
105
|
return Object.values(data).some(Boolean);
|
|
106
106
|
});
|
|
107
|
-
|
|
108
107
|
ApiUser.updateUserData({
|
|
109
108
|
userData: vm.userData,
|
|
110
109
|
}).then(res => {
|
|
@@ -141,7 +140,7 @@ export class UMReceive {
|
|
|
141
140
|
dataArray => {
|
|
142
141
|
// dataArray[0] => userData
|
|
143
142
|
vm.userData = dataArray[0].response.userData;
|
|
144
|
-
|
|
143
|
+
vm.userData.receive_list=vm.userData.receive_list ?? []
|
|
145
144
|
if (vm.userData.receive_list) {
|
|
146
145
|
vm.dataList = [...vm.userData.receive_list, ...new Array(3 - vm.userData.receive_list.length).fill({})];
|
|
147
146
|
}
|