@@ -105,8 +105,10 @@ export default {
}
},
created() {
- this.getDataList()
-
+ const that = this;
+ setTimeout(function(){
+ that.getDataList();
+ });
watch: {
'filter': {
@@ -118,6 +120,7 @@ export default {
beforeRouteEnter(to, from, next) {
next(vm => {
+ console.log(to.params)
//const pm = to.param;
Object.assign(vm, to.params);
})