Skip to content

Commit 2a34ca5

Browse files
committed
fix(uni-ui): 优化gird动态加载问题
1 parent 09bce70 commit 2a34ca5

8 files changed

Lines changed: 10 additions & 656 deletions

File tree

‎components/uni-calendar/uni-calendar.vue‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,8 @@
379379
color: #999;
380380
opacity: 0.1;
381381
text-align: center;
382+
/* #ifndef APP-NVUE */
382383
line-height: 1;
384+
/* #endif */
383385
}
384386
</style>

‎components/uni-grid-item/uni-grid-item.vue‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
this.borderColor = this.grid.borderColor
3535
this.index = this.grid.index++
3636
this.grid.children.push(this)
37-
this.grid.init()
37+
// this.grid.init()
38+
this.width = this.grid.width
3839
},
3940
methods: {
4041
_onClick() {

‎components/uni-swipe-action-item/bindingx.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
const BindingX = uni.requireNativePlugin('bindingx')
2-
const dom = uni.requireNativePlugin('dom')
3-
const animation = uni.requireNativePlugin('animation')
1+
const BindingX = uni.requireNativePlugin('bindingx');
2+
const dom = uni.requireNativePlugin('dom');
3+
const animation = uni.requireNativePlugin('animation');
44

55
export default {
66
data() {

‎components/uni-swipe-action/bindingx.js‎

Lines changed: 0 additions & 223 deletions
This file was deleted.

0 commit comments

Comments
 (0)