Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sup-server
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
sup-server
Commits
d954efea
Commit
d954efea
authored
Nov 11, 2022
by
tyn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8d08a2a7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
login.js
dsk-srm-server/src/api/login.js
+1
-1
vue.config.js
dsk-srm-server/vue.config.js
+2
-2
No files found.
dsk-srm-server/src/api/login.js
View file @
d954efea
...
...
@@ -37,6 +37,7 @@ export const checkUser = (data) => network({
export
const
loginApi
=
(
data
)
=>
network
({
url
:
"/login"
,
method
:
"post"
,
data
});
export
const
loginOutApi
=
()
=>
network
({
...
...
@@ -48,7 +49,6 @@ export const getUserInfoApi = () => network({
url
:
"/getInfo"
,
method
:
"get"
});
//��Ӧ������
export
const
getCategoryList
=
(
data
)
=>
network
({
url
:
"/category/list/tree"
,
method
:
"post"
,
...
...
dsk-srm-server/vue.config.js
View file @
d954efea
...
...
@@ -91,8 +91,8 @@ module.exports = defineConfig({
open
:
true
,
proxy
:
{
[
process
.
env
.
VUE_APP_BASE_API
]:
{
//
target: `http://139.9.157.49:8088`,
target
:
`http://192.168.60.172:8188`
,
target
:
`http://139.9.157.49:8088`
,
//
target: `http://192.168.60.172:8188`,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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