You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
908 B
51 lines
908 B
<template>
|
|
<a-config-provider :locale="zh_CN">
|
|
<div class="d-flex flex-row flex-nowrap" id="app">
|
|
<btn-con />
|
|
<router-view class="flex-1 bg pa-3"></router-view>
|
|
</div>
|
|
</a-config-provider>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState, mapActions, mapMutations } from 'vuex';
|
|
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
|
|
import BtnCon from 'components/BtnCom/BtnCon.vue';
|
|
|
|
export default {
|
|
name: 'app',
|
|
components: { BtnCon },
|
|
data() {
|
|
return {
|
|
zh_CN,
|
|
};
|
|
},
|
|
|
|
computed: mapState(['anyringToken']),
|
|
|
|
created() {
|
|
console.log('process.env ', process.env);
|
|
const userId = '1218763410024566784';
|
|
const params = { userId };
|
|
this.getUserId(params);
|
|
},
|
|
|
|
methods: mapActions(['getUserId']),
|
|
};
|
|
</script>
|
|
|
|
<style>
|
|
html {
|
|
overflow: hidden !important;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
|
|
#app {
|
|
background: transparent;
|
|
}
|
|
</style>
|
|
|