This commit is contained in:
Billy 2022-01-11 10:49:20 +08:00
parent 5283373b5b
commit 7802b85ed2
2 changed files with 5 additions and 2 deletions

View File

@ -2,10 +2,11 @@
* @Author: Billy
* @Date: 2020-09-10 09:49:13
* @LastEditors: Billy
* @LastEditTime: 2022-01-10 20:46:06
* @LastEditTime: 2022-01-11 10:47:12
* @Description: 配置文件
*/
export const PROJECT_NAME = '销售';
export const LOGIN_PAGE_TITLE = '前端示例 2';
export const TOKEY_ATTR_NAME = 'X-Access-Token'; // TOKEN的属性名(即客户端传token到服务端token的属性名)
export const IS_LOGIN_NEEDED = true; // 系统是否需要登录后使用

View File

@ -6,7 +6,7 @@
</div>
<div class="form-box">
<h3 class="title1">欢迎使用</h3>
<h1>前端示例 2</h1>
<h1>{{ LOGIN_PAGE_TITLE }}</h1>
<el-tabs v-model="activeTabName" @tab-click="onTabClick">
<el-tab-pane label="用户管理" name="first">
<el-form class="form-signin" ref="form" :model="form">
@ -67,6 +67,7 @@
</div>
</template>
<script>
import { LOGIN_PAGE_TITLE } from "../../const.js";
import Qs from "qs";
import UserBiz from "../../biz/Rbac/User.js";
import LoginInfo from "../../storage/login-info.js";
@ -74,6 +75,7 @@ import LoginInfo from "../../storage/login-info.js";
export default {
data() {
return {
LOGIN_PAGE_TITLE,
form: {
name: "", //
password: "", //