Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uview-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李晖
uview-ui
Commits
8f993ec7
Commit
8f993ec7
authored
May 08, 2020
by
wlxuqu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1. 解决waterfall瀑布流示例多次快速上拉,导致数据加载失败的问题
2. 解决indexList索引列表和checkbox组件在微信小程序报错的问题
parent
3bd79f55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
+11
-5
u-checkbox-group.vue
uview-ui/components/u-checkbox-group/u-checkbox-group.vue
+4
-1
u-index-list.vue
uview-ui/components/u-index-list/u-index-list.vue
+5
-2
config.js
uview-ui/libs/config/config.js
+2
-2
No files found.
uview-ui/components/u-checkbox-group/u-checkbox-group.vue
View file @
8f993ec7
...
...
@@ -60,9 +60,12 @@
data
()
{
return
{
// 所有子组件
children
:
[]
//
children: []
}
},
created
()
{
this
.
children
=
[];
},
methods
:
{
emitEvent
()
{
let
values
=
[];
...
...
uview-ui/components/u-index-list/u-index-list.vue
View file @
8f993ec7
...
...
@@ -76,6 +76,9 @@
// #ifndef H5
this
.
stickyOffsetTop
=
this
.
offsetTop
?
uni
.
upx2px
(
this
.
offsetTop
)
:
0
;
// #endif
// 只能在created生命周期定义children,如果在data定义,会因为在子组件中通过provide/inject
// 进行push时而导致的莫名其妙的错误
this
.
children
=
[];
},
provide
()
{
return
{
...
...
@@ -86,7 +89,7 @@
return
{
activeAnchorIndex
:
0
,
showSidebar
:
true
,
children
:
[],
//
children: [],
touchmove
:
false
,
touchmoveIndex
:
0
,
}
...
...
@@ -214,7 +217,7 @@
const
anchorStyle
=
{
position
:
'
relative
'
,
transform
:
`translate3d(0,
${
translateY
}
px, 0)`
,
zIndex
:
`
${
zIndex
}
`
,
zIndex
:
`
${
zIndex
?
zIndex
:
this
.
$u
.
zIndex
.
indexListSticky
}
`
,
color
:
`
${
activeColor
}
`
};
item
.
active
=
active
;
...
...
uview-ui/libs/config/config.js
View file @
8f993ec7
// 此版本发布于2020-05-0
7
let
version
=
'
1.2.
0
'
;
// 此版本发布于2020-05-0
8
let
version
=
'
1.2.
1
'
;
export
default
{
v
:
version
,
...
...
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