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

19
src/store/getters.js

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

Loading…
Cancel
Save