Fix bug
This commit is contained in:
parent
cc92c3c4e1
commit
65d564490a
2 changed files with 4 additions and 2 deletions
|
@ -47,6 +47,7 @@ export default Vue.extend({
|
||||||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||||
const isHisasiburi = ago >= 3600;
|
const isHisasiburi = ago >= 3600;
|
||||||
if (isHisasiburi) {
|
if (isHisasiburi) {
|
||||||
|
(this.$refs.welcomeback as any).style.display = 'block';
|
||||||
(this.$refs.main as any).style.overflow = 'hidden';
|
(this.$refs.main as any).style.overflow = 'hidden';
|
||||||
|
|
||||||
anime({
|
anime({
|
||||||
|
@ -122,7 +123,7 @@ export default Vue.extend({
|
||||||
user-select none
|
user-select none
|
||||||
|
|
||||||
> p
|
> p
|
||||||
display block
|
display none
|
||||||
position absolute
|
position absolute
|
||||||
top 48px
|
top 48px
|
||||||
width 100%
|
width 100%
|
||||||
|
|
|
@ -57,6 +57,7 @@ export default Vue.extend({
|
||||||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||||
const isHisasiburi = ago >= 3600;
|
const isHisasiburi = ago >= 3600;
|
||||||
if (isHisasiburi) {
|
if (isHisasiburi) {
|
||||||
|
(this.$refs.welcomeback as any).style.display = 'block';
|
||||||
(this.$refs.main as any).style.overflow = 'hidden';
|
(this.$refs.main as any).style.overflow = 'hidden';
|
||||||
|
|
||||||
anime({
|
anime({
|
||||||
|
@ -149,7 +150,7 @@ export default Vue.extend({
|
||||||
background-color rgba(#1b2023, 0.75)
|
background-color rgba(#1b2023, 0.75)
|
||||||
|
|
||||||
> p
|
> p
|
||||||
display block
|
display none
|
||||||
position absolute
|
position absolute
|
||||||
z-index 1002
|
z-index 1002
|
||||||
top $height
|
top $height
|
||||||
|
|
Loading…
Reference in a new issue