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