ant-desing-table全局刷新及当前分页刷新第二页修改返回第二页刷新a-table与s-table都是一样的使用方法this.$refs.table...原创
原创a-table 与 s-table 都是一样的 使用方法
this.$refs.table.refresh(true) // 新增 从第一页开始刷新
this.$refs.table.loadData() // 当前在第二页,刷新第二页
从要返回的页面侦听
watch: {
$route (to, from) {
if (from.name === GoodsCreate) {
this.$refs.table.refresh(true)
} else if (from.name === GoodsEdit) {
this.$refs.table.loadData()
}
}
}, 版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
上一篇:Flutter自带时间日期组件显示中文设置原创 下一篇:有i标签不能对齐原创
itfan123



