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