fix ui bug

pull/109/head
QLeelulu 2018-10-12 22:21:50 +08:00
parent cb7b899bee
commit dacd545009
3 changed files with 31 additions and 29 deletions

File diff suppressed because one or more lines are too long

View File

@ -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>

View File

@ -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;
},