mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-21 09:10:20 +00:00
no message
This commit is contained in:
parent
a5cb958398
commit
3db687ad40
@ -3162,6 +3162,9 @@ export default {
|
|||||||
top: `${top}px`,
|
top: `${top}px`,
|
||||||
height: `${height}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};
|
this.operateClient = {x: left, y: this.operateItem.clientY};
|
||||||
if (this.operateVisible) {
|
if (this.operateVisible) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
4
resources/assets/js/store/actions.js
vendored
4
resources/assets/js/store/actions.js
vendored
@ -709,8 +709,8 @@ export default {
|
|||||||
state.userId = userInfo.userid;
|
state.userId = userInfo.userid;
|
||||||
state.userToken = userInfo.token;
|
state.userToken = userInfo.token;
|
||||||
state.userIsAdmin = $A.inArray('admin', userInfo.identity);
|
state.userIsAdmin = $A.inArray('admin', userInfo.identity);
|
||||||
if ($A.isSubElectron) {
|
if ($A.isSubElectron || ($A.isEEUiApp && !state.isFirstPage)) {
|
||||||
// 子窗口(Electron)保存
|
// 子窗口(Electron)、不是第一个页面(App) 不保存
|
||||||
} else {
|
} else {
|
||||||
await $A.IDBSet("userInfo", state.userInfo);
|
await $A.IDBSet("userInfo", state.userInfo);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user