| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <a-config-provider :locale="locale">
- <div class="app">
- <router-view />
- <!-- <div class="map-wrapper">
- <GMap />
- </div> -->
- </div>
- </a-config-provider>
- </template>
- <script lang="ts">
- import { defineComponent } from 'vue'
- import { useMyStore } from './store'
- import GMap from '/@/components/GMap.vue'
- import zhCN from 'ant-design-vue/es/locale/zh_CN';
- import 'moment/dist/locale/zh-cn';
- export default defineComponent({
- name: 'App',
- components: { GMap },
- setup() {
- const store = useMyStore();
- return {
- locale: zhCN,
- }
- }
- })
- </script>
- <style lang="scss" scoped>
- .app {
- width: 100%;
- height: 100%;
- .map-wrapper {
- height: 100%;
- width: 100%;
- }
- }
- </style>
- <style lang="scss">
- #root {
- width: 100%;
- height: 100%
- }
- </style>
|