Commit 1e5ce854 by 匡雅琴

一直加载数据

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