Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
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
fengzhaoyu
schedule
Commits
af34f7d9
Commit
af34f7d9
authored
Nov 10, 2020
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 首页点击刷新按钮时会重复叠加数据,笔记换行显示
parent
df7713e4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
notes.acss
components/notes/notes.acss
+1
-0
remark.acss
components/remark/remark.acss
+1
-0
index.js
pages/index/index.js
+4
-0
No files found.
components/notes/notes.acss
View file @
af34f7d9
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
padding: 16rpx;
padding: 16rpx;
margin-top: 16rpx;
margin-top: 16rpx;
margin-bottom: 1rpx;
margin-bottom: 1rpx;
word-break: break-all;
}
}
.notes-edit {
.notes-edit {
...
...
components/remark/remark.acss
View file @
af34f7d9
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
border-radius: 8rpx;
border-radius: 8rpx;
padding: 16rpx;
padding: 16rpx;
margin-top: 16rpx;
margin-top: 16rpx;
word-break: break-all;
}
}
.notes-edit {
.notes-edit {
...
...
pages/index/index.js
View file @
af34f7d9
...
@@ -305,8 +305,12 @@ create.Page({
...
@@ -305,8 +305,12 @@ create.Page({
dd
.
closeSocket
();
dd
.
closeSocket
();
},
},
refresh
()
{
refresh
()
{
//重置数据
DateMap
=
getDateMap
(
this
.
minYear
,
this
.
maxYear
);
this
.
isNeverShowSchedulePage
=
true
;
this
.
isNeverShowSchedulePage
=
true
;
this
.
isLoaded
=
false
;
this
.
isLoaded
=
false
;
//定位到今天,防止上面的不生效
this
.
backToToday
(
'first'
)
this
.
onLoad
();
this
.
onLoad
();
},
},
getPages
(
current
,
callBack
)
{
getPages
(
current
,
callBack
)
{
...
...
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