[web] Lint source code
This commit is contained in:
parent
089df85c1d
commit
81d9b1723f
|
@ -59,10 +59,7 @@ export default {
|
||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
current() {
|
current() {
|
||||||
if (this.$route.query && this.$route.query.directory) {
|
return this.$route.query?.directory || '/'
|
||||||
return this.$route.query.directory
|
|
||||||
}
|
|
||||||
return '/'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue