Commit b8150715 by haojie

1

parent eb1bbca0
......@@ -29,11 +29,6 @@
<FixedJoinUs></FixedJoinUs>
<Announcement></Announcement>
</ClientOnly>
<Animation
v-if="glbloading"
position="fixed"
background="rgba(240,240,240,0.2)"
></Animation>
</template>
</MyLayout>
</template>
......@@ -49,8 +44,6 @@ const TbName = ref();
const r24h = ref();
const chain = useChain();
const currentPath = ref('');
// 全局loading
const glbloading = useGlbLogin();
// div是否隐藏
const pageloading = ref(true);
const getUa = () => {
......@@ -68,8 +61,6 @@ onBeforeMount(() => {
onMounted(() => {
pageloading.value = false;
currentPath.value = chain.value;
//
glbloading.value = false;
});
const RightInfo = useCurrentRightInfo();
watch(RightInfo.value, (v) => {
......@@ -80,13 +71,6 @@ watch(RightInfo.value, (v) => {
const changeChain = (chain) => {
currentPath.value = chain;
};
// 监听路由变化
watch(
() => route.href,
(v) => {
glbloading.value = true;
}
);
</script>
<style lang="less">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment