mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-28 04:40:37 +00:00
身份未确认之前不显示网页框架
This commit is contained in:
parent
c08e217fb8
commit
d75ee02b4a
@ -235,6 +235,22 @@
|
||||
</keep-alive>
|
||||
</div>
|
||||
|
||||
<!--等待覆盖层-->
|
||||
<div v-if="userLoad" class="manage-box-load">
|
||||
<div class="app-view-loading">
|
||||
<div>
|
||||
<div>PAGE LOADING</div>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--新建项目-->
|
||||
<Modal
|
||||
v-model="addShow"
|
||||
@ -395,6 +411,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
loadIng: 0,
|
||||
userLoad: true,
|
||||
|
||||
mateName: /macintosh|mac os x/i.test(navigator.userAgent) ? '⌘' : 'Ctrl',
|
||||
|
||||
@ -450,8 +467,10 @@ export default {
|
||||
$A.messageSuccess("清除成功");
|
||||
}
|
||||
//
|
||||
this.$store.dispatch("getUserInfo").catch(() => {})
|
||||
this.$store.dispatch("getTaskPriority").catch(() => {})
|
||||
this.$store.dispatch("getUserInfo").then(_ => {
|
||||
this.userLoad = false;
|
||||
}).catch(_ => {})
|
||||
this.$store.dispatch("getTaskPriority").catch(_ => {})
|
||||
//
|
||||
this.getReportUnread(0);
|
||||
this.notificationInit();
|
||||
|
||||
9
resources/assets/sass/pages/page-manage.scss
vendored
9
resources/assets/sass/pages/page-manage.scss
vendored
@ -260,6 +260,15 @@
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
.manage-box-load {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 99;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
}
|
||||
|
||||
.page-manage-menu-dropdown {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user