Commit 6205aa66 authored by suntao's avatar suntao

表单验证

parent 38ab533b
......@@ -68,10 +68,9 @@ export default {
get() {
return this.page
},
// set(val) {
// console.log("update:page=="+val)
// this.$emit('update:page', val)
// }
set(val) {
this.$emit('update:page', val)
}
},
},
methods: {
......@@ -83,7 +82,6 @@ export default {
}
},
handleCurrentChange(val) {
this.$emit('update:page', val)
this.$emit('pagination')
if (this.autoScroll) {
scrollTo(0, 800)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment