Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
vite-integral
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1e5ce854
authored
Aug 12, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
一直加载数据
1 parent
bde61c91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
src/views/home/useHistory.vue
src/views/home/useHistory.vue
View file @
1e5ce85
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment