2022-06-07 12:22:00 +08:00

34 lines
776 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div v-if="[-1, 0].includes(userState)" class="app-view-loading">
<div v-if="userState === -1" class="load-error" @click="onClick">
{{$L('加载失败点击重试')}}
</div>
<div v-else>
<div>PAGE LOADING</div>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</div>
</template>
<script>
export default {
name: 'ManageLoad',
props: {
userState: {
type: Number,
},
},
methods: {
onClick() {
this.$emit('on-click')
}
}
}
</script>