Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
0a2dd726
Commit
0a2dd726
authored
Aug 01, 2021
by
zhujian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'fix:合并分支冲突'
parent
18e64979
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
src/common/js/axios.ts
+2
-0
src/modules/root/WechatLogin.tsx
+2
-1
No files found.
src/common/js/axios.ts
View file @
0a2dd726
...
...
@@ -130,7 +130,9 @@ class Axios {
if
(
method
===
'GET'
)
{
config
=
Object
.
assign
({
params
,
url
:
`
${
BASIC_HOST
}${
_url
}
`
,
method
});
}
else
{
console
.
log
(
corpType
)
config
=
Object
.
assign
({
data
:
{
corpType
,
...(
params
||
{})
},
url
:
`
${
BASIC_HOST
}${
_url
}
`
,
method
});
console
.
log
(
config
,
'config'
)
}
instance
(
config
).
then
((
res
:
AxiosResponse
):
void
=>
{
...
...
src/modules/root/WechatLogin.tsx
View file @
0a2dd726
...
...
@@ -2,7 +2,8 @@ import React, { useState, useRef, useEffect } from 'react';
import
qrcode
from
'@/libs/qrcode/qrcode.js'
;
import
Service
from
'@/common/js/service'
;
import
User
from
'@/common/js/user'
;
import
{
PATH
,
corpType
}
from
'@/domains/basic-domain/constants'
;
import
{
PATH
}
from
'@/domains/basic-domain/constants'
;
import
{
corpType
}
from
'@/domains/brand/constants'
import
'./WechatLogin.less'
;
import
{
brandName
,
BRAND
,
brandIcon
,
brandLogo
}
from
'@/domains/brand/constants'
declare
var
location
:
any
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment