...
|
...
|
@@ -155,6 +155,16 @@ export default { |
|
|
|
|
|
return;
|
|
|
},
|
|
|
beforeRouteEnter(to, from, next) {
|
|
|
next();
|
|
|
},
|
|
|
beforeRouteUpdate(to, from, next) {
|
|
|
this.$bus.$emit('beforeRouteUpdate');
|
|
|
next();
|
|
|
},
|
|
|
beforeRouteLeave(to, from, next) {
|
|
|
next();
|
|
|
},
|
|
|
mounted() {
|
|
|
this.colWidthForTwo = Math.floor(this.$el.offsetWidth / 2);
|
|
|
this.loadPreData(+this.$route.params.id);
|
...
|
...
|
|