feat: show debug panel with #debug
This commit is contained in:
parent
bc16941521
commit
2fd569f825
@ -36,7 +36,8 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
showDebugPanel() {
|
||||
return this.$route.query && this.$route.query.debug
|
||||
const { hash } = this.$route
|
||||
return hash.indexOf('debug') > -1
|
||||
},
|
||||
gameState() {
|
||||
return this.$store.state.game.state
|
||||
|
Loading…
Reference in New Issue
Block a user