Browse Source

默认登录修改

master
aBin 4 years ago
parent
commit
5e3b607bbe
  1. 14
      src/App.vue
  2. 19
      src/store/getters.js
  3. 11
      src/views/Index/Index.vue

14
src/App.vue

@ -3,12 +3,12 @@
* @email: 18603454788@163.com * @email: 18603454788@163.com
* @Date: 2021-04-20 12:33:22 * @Date: 2021-04-20 12:33:22
* @LastEditors: wally * @LastEditors: wally
* @LastEditTime: 2021-04-20 12:53:36 * @LastEditTime: 2021-04-22 13:10:07
--> -->
<template> <template>
<a-config-provider :locale="zh_CN"> <a-config-provider :locale="zh_CN">
<div class="d-flex flex-row flex-nowrap" id="app"> <div class="d-flex flex-row flex-nowrap" id="app">
<btn-con /> <!-- <btn-con /> -->
<router-view class="flex-1 bg pa-3"></router-view> <router-view class="flex-1 bg pa-3"></router-view>
</div> </div>
</a-config-provider> </a-config-provider>
@ -17,11 +17,11 @@
<script> <script>
import { mapState, mapActions, mapMutations } from 'vuex'; import { mapState, mapActions, mapMutations } from 'vuex';
import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN'; import zh_CN from 'ant-design-vue/lib/locale-provider/zh_CN';
import BtnCon from 'components/BtnCom/BtnCon.vue'; // import BtnCon from 'components/BtnCom/BtnCon.vue';
export default { export default {
name: 'App', name: 'App',
components: { BtnCon }, // components: { BtnCon },
data() { data() {
return { zh_CN }; return { zh_CN };
}, },
@ -40,9 +40,9 @@ export default {
created() { created() {
// //
const userId = '1218763410024566784'; // const userId = '1218763410024566784';
const params = { userId }; // const params = { userId };
this.getUserId(params); // this.getUserId(params);
const that = this; const that = this;
window.plugin = window.TallPlugin.init(); window.plugin = window.TallPlugin.init();

19
src/store/getters.js

@ -1,9 +1,14 @@
const getters = { /*
// 域定制导航展示形式 * @Author: wally
// 0 -> 无特殊导航文字 * @email: 18603454788@163.com
// 1 -> 横向定制导航 * @Date: 2021-04-20 12:33:22
// 2 -> 纵向定制导航 * @LastEditors: wally
* @LastEditTime: 2021-04-22 13:09:35
}; */
const getters = {};
// 域定制导航展示形式
// 0 -> 无特殊导航文字
// 1 -> 横向定制导航
// 2 -> 纵向定制导航
export default getters; export default getters;

11
src/views/Index/Index.vue

@ -1,9 +1,14 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-04-20 12:33:22
* @LastEditors: wally
* @LastEditTime: 2021-04-22 13:08:42
-->
<template> <template>
<div></div> <div></div>
</template> </template>
<script> <script>
export default { export default { name: 'Index' };
name: 'Index',
};
</script> </script>

Loading…
Cancel
Save