|
|
@@ -43,6 +43,7 @@ import { useRoute, useRouter } from "vue-router"
|
|
|
import { useStore } from "vuex"
|
|
|
import GameRule from '@/components/GameRule.vue'
|
|
|
import NotifyBonusPointReachedLimit from '@/components/NotifyBonusPointReachedLimit.vue'
|
|
|
+import { onBeforeUnmount } from "vue"
|
|
|
|
|
|
const route = useRoute()
|
|
|
const router = useRouter()
|
|
|
@@ -109,6 +110,11 @@ if (store.state.ifScoreLimitReached) {
|
|
|
isShowNotifyBonusPointReachedLimit.value = false
|
|
|
}, 2000)
|
|
|
}
|
|
|
+
|
|
|
+document.querySelector('#app > .top-wrapper').style.width = '100%'
|
|
|
+onBeforeUnmount(() => {
|
|
|
+ document.querySelector('#app > .top-wrapper').style.width = ''
|
|
|
+})
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|