|
@@ -108,13 +108,11 @@ export default {
|
|
|
next () {
|
|
|
this.rowindex += 1
|
|
|
this.queryData(this.rowindex)
|
|
|
- this.refresh()
|
|
|
|
|
|
},
|
|
|
previous () {
|
|
|
this.rowindex -= 1
|
|
|
this.queryData(this.rowindex)
|
|
|
- this.refresh()
|
|
|
},
|
|
|
onSuccess () {
|
|
|
this.$emit('onEditSuccess')
|
|
@@ -184,6 +182,11 @@ export default {
|
|
|
this.routerName = this.$route.meta.title
|
|
|
this.rowindex = Number(this.$route.query.rowindex)
|
|
|
},
|
|
|
+ watch:{
|
|
|
+ mainAreaData () {
|
|
|
+ this.refresh()
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
</script>
|