iview 踩坑 分页 Page modelValue
分页组件 对应 的 当前页的 字段 不能用 V-model 也不能 value 也不能用 官网文档中的modelValue,应该用current
我说实话,iview 是真的坑
<Page @on-change="runPage" :total="total" :current="currentPage" :page-size="pageSize" show-total show-elevator v-if="showPage" />
i-switch
<i-switch size="small" :true-value="'1'" :false-value="'0'" v-model="row.dvEgs.isPush"></i-switch>
posted on 2023-02-16 09:40 liuhao1992 阅读(142) 评论(0) 编辑 收藏 举报