- 博客(3)
- 收藏
- 关注
原创 [BScroll warn]: Can not resolve the wrapper DOM. Vue better-scroll [Vue warn]: Error in mounted hook
在使用better-scroll的时候遇到过的错误之一[BScroll warn]: Can not resolve the wrapper DOM. Vue better-scroll[Vue warn]: Error in mounted hook: “TypeError: Cannot read property ‘children’ of undefined”明明已经了DOM节点,为...
2018-11-09 23:37:40 3923
原创 Vue v-for 循环数组、对象、数字时 参数的顺序
Vue v-for 循环数组、对象、数字时 参数的顺序顺序一定要写对,如果不按顺序写的话,那就呵呵啦~~~~~~<div id="example"> <!--循环数字--> <span v-for="count in 10">{{count}}</span> <!--循环数组--&g
2018-11-09 23:33:05 8711 1
原创 vue点击时动态改变样式
vue点击时动态改变样式template中<li :class="{ active:index==isActive }" @click="changeValue(index)" v-for="( item , index ) in items" :key="item.CategoryId">{{item.Categor...
2018-11-07 19:09:35 22506 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人