1
2
3
4
5
6
7
8
9
10
11
12
13
14
| <script setup lang="ts">
| import { onMounted, onUnmounted } from 'vue'
| import { RouterView } from 'vue-router'
|
| onMounted(() => {
| sessionStorage.setItem('screenWidth', window.innerWidth.toFixed())
| })
| </script>
|
| <template>
| <RouterView />
| </template>
|
| <style scoped lang="less"></style>
|
|