diff --git a/src/components/totop.vue b/src/components/totop.vue index eea21e5..a147180 100644 --- a/src/components/totop.vue +++ b/src/components/totop.vue @@ -56,7 +56,7 @@ onMounted(() => { right:0px; bottom:135px; cursor: pointer; - z-index:999; + z-index:2; overflow: hidden; border-radius: 15px 0 0 15px; box-shadow: 0 0 6px rgba(0, 0, 0, 0.12); diff --git a/src/views/home.vue b/src/views/home.vue index 9541940..271677a 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -50,7 +50,6 @@ const getList = async () => { list.value = list.value.concat(data.data); if (data.data.length <10) { finished.value = true; - } }