mirror of https://github.com/shunfei/cronsun
fix ui bug
parent
cb7b899bee
commit
dacd545009
File diff suppressed because one or more lines are too long
|
@ -61,7 +61,7 @@
|
|||
<div id="app">
|
||||
<div id="initloader"></div>
|
||||
</div>
|
||||
<script src="build.js?v=ad7665f"></script>
|
||||
<script src="build.js?v=cb7b899"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
|
@ -101,8 +101,10 @@ export default {
|
|||
this.fetchList(this.buildQuery());
|
||||
|
||||
var vm = this;
|
||||
$(this.$refs.latest).checkbox({'onChange': ()=>{vm.latest = !vm.latest}});
|
||||
$(this.$refs.failedOnly).checkbox({'onChange': ()=>{vm.failedOnly = !vm.failedOnly}});
|
||||
$(this.$refs.latest).checkbox({'onChange': ()=>{
|
||||
}});
|
||||
$(this.$refs.failedOnly).checkbox({'onChange': ()=>{
|
||||
}});
|
||||
},
|
||||
|
||||
watch: {
|
||||
|
@ -121,7 +123,7 @@ export default {
|
|||
this.begin = this.$route.query.begin || '';
|
||||
this.end = this.$route.query.end || '';
|
||||
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) ? true : false;
|
||||
this.failedOnly = this.$route.query.failedOnly ? true : false;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue