Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘文虎
account-book
Commits
ed3d7e00
Commit
ed3d7e00
authored
Aug 16, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 账单页面刷新
parent
e9089b2b
Pipeline
#3243
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
bill.vue
pages/index/bill/bill.vue
+7
-5
scroll-box.vue
pages/index/bill/components/scroll-box.vue
+1
-1
No files found.
pages/index/bill/bill.vue
View file @
ed3d7e00
...
@@ -88,16 +88,18 @@ export default {
...
@@ -88,16 +88,18 @@ export default {
// this.initDate();
// this.initDate();
},
},
onReady
()
{
onReady
()
{
this
.
$refs
[
'scroll-box'
]?.
reloadList
();
this
.
firstEnter
=
false
this
.
firstEnter
=
false
;
},
},
onShow
()
{
onShow
()
{
console
.
log
(
'onShow'
);
if
(
!
this
.
firstEnter
)
{
if
(
!
this
.
firstEnter
)
{
if
(
this
.
current
==
0
)
{
if
(
this
.
current
==
0
)
{
this
.
$refs
[
'scroll-box'
]?.
reloadList
();
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'scroll-box'
].
reloadList
();
})
}
else
if
(
this
.
current
==
1
)
{
}
else
if
(
this
.
current
==
1
)
{
this
.
$refs
[
'chart-view'
]?.
reloadData
();
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'chart-view'
].
reloadData
();
})
}
}
// this.getMouthStatistics();
// this.getMouthStatistics();
}
}
...
...
pages/index/bill/components/scroll-box.vue
View file @
ed3d7e00
...
@@ -153,7 +153,7 @@ export default {
...
@@ -153,7 +153,7 @@ export default {
let
params
=
{
let
params
=
{
current
:
this
.
current
,
current
:
this
.
current
,
size
:
this
.
size
,
size
:
this
.
size
,
month
:
this
.
date
month
:
this
.
d
efaultD
ate
};
};
let
res
=
await
getList
(
params
);
let
res
=
await
getList
(
params
);
if
(
this
.
current
===
1
)
{
if
(
this
.
current
===
1
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment