mirror of https://github.com/shunfei/cronsun
UI: .query type compatible
parent
6c91a3c24a
commit
1d90ef8064
|
@ -121,8 +121,8 @@ export default {
|
||||||
this.begin = this.$route.query.begin || '';
|
this.begin = this.$route.query.begin || '';
|
||||||
this.end = this.$route.query.end || '';
|
this.end = this.$route.query.end || '';
|
||||||
this.page = this.$route.query.page || 1;
|
this.page = this.$route.query.page || 1;
|
||||||
this.latest = this.$route.query.latest == 'true' ? true : false;
|
this.latest = this.$route.query.latest === 'true' || this.$route.query.latest === true;
|
||||||
this.failedOnly = this.$route.query.failedOnly == 'true' ? true : false;
|
this.failedOnly = this.$route.query.failedOnly === 'true' || this.$route.query.failedOnly === true;
|
||||||
},
|
},
|
||||||
|
|
||||||
fetchList(query){
|
fetchList(query){
|
||||||
|
|
Loading…
Reference in New Issue