You need to sign in or sign up before continuing.
|
1
|
// 应用全局配置
|
1
|
// 应用全局配置
|
|
2
|
module.exports = {
|
2
|
module.exports = {
|
|
3
|
|
3
|
|
|
4
|
- baseUrl: 'http://ft.wecando21cn.com/api',
|
4
|
+ // baseUrl: 'http://ft.wecando21cn.com/api',
|
|
|
|
5
|
+ baseUrl: 'http://erp.qgutech.com/api',
|
|
5
|
// baseUrl: 'http://127.0.0.1:8085',
|
6
|
// baseUrl: 'http://127.0.0.1:8085',
|
|
6
|
// 应用信息
|
7
|
// 应用信息
|
|
7
|
appInfo: {
|
8
|
appInfo: {
|
|
@@ -83,7 +83,8 @@ |
|
@@ -83,7 +83,8 @@ |
|
83
|
// 获取图形验证码
|
83
|
// 获取图形验证码
|
|
84
|
getCode() {
|
84
|
getCode() {
|
|
85
|
getCodeImg().then(res => {
|
85
|
getCodeImg().then(res => {
|
|
86
|
- this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled
|
86
|
+ console.log('getCodeImgres', res)
|
|
|
|
87
|
+ this.captchaEnabled = res.data.captchaEnabled === undefined ? true : res.data.captchaEnabled
|
|
87
|
if (this.captchaEnabled) {
|
88
|
if (this.captchaEnabled) {
|
|
88
|
this.codeUrl = res.data.image
|
89
|
this.codeUrl = res.data.image
|
|
89
|
this.loginForm.sn = res.data.sn
|
90
|
this.loginForm.sn = res.data.sn
|