element-ui
G_大侠
这个作者很懒,什么都没留下…
展开
-
el-dialog作为子组件使用,点击自带关闭按钮报错
el-dialog作为子组件使用时,点击dialog自带关闭按钮会报错:[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop’s value. Prop being mutated: “dialogVis原创 2022-04-12 15:28:42 · 3313 阅读 · 0 评论 -
el-pagination分页用法总结
实现功能:对数据进行分页展示,active数据改变样式展示数据<div v-for="(v, k) in showNews" :key="k"> <div :class="[activeIndex == k ? 'active' : '', 'item']" @click="checkItem(k)"> {{v.date}} </div> </div> <el-pagination backgro原创 2021-02-25 17:52:43 · 619 阅读 · 0 评论