Commit 1e5ce854 by 匡雅琴

一直加载数据

1 parent bde61c91
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
loading-text="加载中..." loading-text="加载中..."
v-model:loading="loading" v-model:loading="loading"
:finished="finished" :finished="finished"
:immediate-check="false" @load="getHistoryList"
:offset="20"
> >
<template v-if="useList.length == 0"> <template v-if="useList.length == 0">
<div class="nodata" :style="{ height: innerHeight + 'px' }"> <div class="nodata" :style="{ height: innerHeight + 'px' }">
...@@ -115,9 +114,7 @@ const getHistoryList = async () => { ...@@ -115,9 +114,7 @@ const getHistoryList = async () => {
}; };
// 组件挂载完成 // 组件挂载完成
onMounted(() => { onMounted(() => {});
getHistoryList();
});
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
...@@ -139,7 +136,6 @@ onMounted(() => { ...@@ -139,7 +136,6 @@ onMounted(() => {
} }
.info-content { .info-content {
margin-top: 20px; margin-top: 20px;
overflow: auto;
&-list { &-list {
width: calc(100% - 32px); width: calc(100% - 32px);
height: 96px; height: 96px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!