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