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