12345678910111213141516171819202122232425262728293031323334353637383940 |
- <template>
- <div id="App">
- <router-view />
- </div>
- </template>
- <script>
- export default {
- name: 'App',
- props: {},
- components: {},
- data: () => ({}),
- created() {
- this.checkOpenid();
- },
- computed: {},
- methods: {
- checkOpenid() {
- const openid = this.$route.query.openid;
- if (openid) sessionStorage.setItem('openid', openid);
- },
- },
- };
- </script>
- <style lang="less">
- html {
- overflow-x: hidden;
- overflow-y: auto;
- }
- body {
- margin: 0;
- overflow-x: hidden;
- }
- .textOver {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- </style>
|