clay commit : info
This commit is contained in:
@@ -3,7 +3,8 @@ ENV = 'development'
|
||||
|
||||
# EBTS/开发环境
|
||||
#VUE_APP_BASE_API = '/dev-api'
|
||||
VUE_APP_BASE_API = 'http://192.168.190.67/dev-api'
|
||||
#VUE_APP_BASE_API = 'http://192.168.190.67/dev-api'
|
||||
VUE_APP_BASE_API = 'http://127.0.0.1:8085/dev-api'
|
||||
#VUE_APP_BASE_API = 'http://sistapi.hchyun.cn/dev-api'
|
||||
|
||||
# 路由懒加载
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico">-->
|
||||
<title>西南交大信息学院官网后台管理系统</title>
|
||||
<style>
|
||||
html,
|
||||
|
||||
@@ -4,7 +4,6 @@ import { Message } from 'element-ui'
|
||||
import NProgress from 'nprogress'
|
||||
import 'nprogress/nprogress.css'
|
||||
import { getToken } from '@/utils/auth'
|
||||
import axios from "axios";
|
||||
|
||||
NProgress.configure({ showSpinner: false })
|
||||
|
||||
@@ -62,9 +61,9 @@ router.beforeEach((to, from, next) => {
|
||||
//
|
||||
// })
|
||||
// NProgress.done()
|
||||
// if (!defaultSettings.casEnable) {
|
||||
// next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
|
||||
// }
|
||||
if (!defaultSettings.casEnable) {
|
||||
next(`/login?redirect=${to.fullPath}`) // 否则全部重定向到登录页
|
||||
}
|
||||
//开启cas
|
||||
if (defaultSettings.casEnable) {
|
||||
window.location.href = defaultSettings.casloginUrl // 否则全部重定向到登录页
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<el-form ref="form" :model="user" :rules="rules" label-width="80px">
|
||||
<el-form-item label="用户昵称" prop="nickName">
|
||||
<el-input v-model="user.nickName" />
|
||||
<el-input disabled v-model="user.nickName" />
|
||||
</el-form-item>
|
||||
<el-form-item label="手机号码" prop="phonenumber">
|
||||
<el-input v-model="user.phonenumber" maxlength="11" />
|
||||
|
||||
Reference in New Issue
Block a user