Commit b8150715 by haojie

1

parent eb1bbca0
...@@ -29,11 +29,6 @@ ...@@ -29,11 +29,6 @@
<FixedJoinUs></FixedJoinUs> <FixedJoinUs></FixedJoinUs>
<Announcement></Announcement> <Announcement></Announcement>
</ClientOnly> </ClientOnly>
<Animation
v-if="glbloading"
position="fixed"
background="rgba(240,240,240,0.2)"
></Animation>
</template> </template>
</MyLayout> </MyLayout>
</template> </template>
...@@ -49,8 +44,6 @@ const TbName = ref(); ...@@ -49,8 +44,6 @@ const TbName = ref();
const r24h = ref(); const r24h = ref();
const chain = useChain(); const chain = useChain();
const currentPath = ref(''); const currentPath = ref('');
// 全局loading
const glbloading = useGlbLogin();
// div是否隐藏 // div是否隐藏
const pageloading = ref(true); const pageloading = ref(true);
const getUa = () => { const getUa = () => {
...@@ -68,8 +61,6 @@ onBeforeMount(() => { ...@@ -68,8 +61,6 @@ onBeforeMount(() => {
onMounted(() => { onMounted(() => {
pageloading.value = false; pageloading.value = false;
currentPath.value = chain.value; currentPath.value = chain.value;
//
glbloading.value = false;
}); });
const RightInfo = useCurrentRightInfo(); const RightInfo = useCurrentRightInfo();
watch(RightInfo.value, (v) => { watch(RightInfo.value, (v) => {
...@@ -80,13 +71,6 @@ watch(RightInfo.value, (v) => { ...@@ -80,13 +71,6 @@ watch(RightInfo.value, (v) => {
const changeChain = (chain) => { const changeChain = (chain) => {
currentPath.value = chain; currentPath.value = chain;
}; };
// 监听路由变化
watch(
() => route.href,
(v) => {
glbloading.value = true;
}
);
</script> </script>
<style lang="less"> <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