Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
Madara
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
viitto
Madara
Commits
5aa5c421
Commit
5aa5c421
authored
Oct 25, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d0134562
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
friendsQuanContent.vue
src/renderer/components/friends/friendsQuanContent.vue
+2
-1
friendsReleased.vue
src/renderer/components/friends/friendsReleased.vue
+1
-0
No files found.
src/renderer/components/friends/friendsQuanContent.vue
View file @
5aa5c421
...
...
@@ -44,7 +44,7 @@ export default {
document
.
getElementById
(
"friendsQuanContent"
)
.
addEventListener
(
"scroll"
,
_this
.
scrollBottom
,
false
);
},
2
000
);
},
1
000
);
this
.
MsgBus
.
$on
(
"edit-show"
,
function
(
params
)
{
_this
.
editShow
=
false
})
...
...
@@ -52,6 +52,7 @@ export default {
scrollBottom
(){
let
dom
=
document
.
getElementById
(
"friendsQuanContent"
)
if
(
dom
.
scrollHeight
-
dom
.
scrollTop
===
dom
.
clientHeight
)
{
console
.
log
(
this
.
$refs
.
mychild
)
this
.
$refs
.
mychild
.
scrollBottom
(
dom
);
}
},
...
...
src/renderer/components/friends/friendsReleased.vue
View file @
5aa5c421
...
...
@@ -33,6 +33,7 @@ export default {
},
methods
:
{
scrollBottom
(
dom
){
if
(
dom
.
scrollHeight
-
dom
.
scrollTop
===
dom
.
clientHeight
)
{
this
.
dynamicMsg
.
pageIndex
=
this
.
dynamicMsg
.
pageIndex
+
1
;
this
.
getList
();
}
},
...
...
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