prod
lily.zhang 3 years ago
parent 68e7672896
commit a8dd48b334

@ -73,17 +73,20 @@ export default {
week: "", week: "",
intDt: null, intDt: null,
selDatas: [], selDatas: [],
timeShow: true timeShow: true,
}; };
}, },
watch: { watch: {
$route(to) { $route: {
if(to.path === '/eventDEC') { handler(val) {
if (val.path === "/eventDEC") {
this.timeShow = false; this.timeShow = false;
} else { } else {
this.timeShow = true; this.timeShow = true;
} }
}, },
immediate: true,
},
}, },
created() { created() {
this.getTime(); this.getTime();

Loading…
Cancel
Save