no message

This commit is contained in:
kuaifan 2025-04-14 16:32:31 +08:00
parent a5cb958398
commit 3db687ad40
2 changed files with 5 additions and 2 deletions

View File

@ -3162,6 +3162,9 @@ export default {
top: `${top}px`,
height: `${height}px`,
}
if (this.location === 'messenger') {
this.operateStyles.marginTop = "calc(var(--status-bar-height) * -1)"
}
this.operateClient = {x: left, y: this.operateItem.clientY};
if (this.operateVisible) {
try {

View File

@ -709,8 +709,8 @@ export default {
state.userId = userInfo.userid;
state.userToken = userInfo.token;
state.userIsAdmin = $A.inArray('admin', userInfo.identity);
if ($A.isSubElectron) {
// 子窗口Electron保存
if ($A.isSubElectron || ($A.isEEUiApp && !state.isFirstPage)) {
// 子窗口Electron、不是第一个页面App保存
} else {
await $A.IDBSet("userInfo", state.userInfo);
}