Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
xqz
/
dianDemo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
77fd2c45
authored
2020-04-29 11:12:34 +0800
by
sunnie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
readme
1 parent
2a1687c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
README.md
View file @
77fd2c4
...
...
@@ -608,7 +608,7 @@ module.exports = {
如果你的项目需要跨域设置,你需要打来
`vue.config.js`
`proxy`
注释 并且配置相应参数
**
!!!注意:你还需要将 `src/config/env.development.js` 里的 `baseApi` 设置成 '/'
**
**
<u>!!!注意:你还需要将 `src/config/env.development.js` 里的 `baseApi` 设置成 '/'</u>
**
```
javascript
module
.
exports
=
{
...
...
@@ -635,7 +635,7 @@ module.exports = {
export
function
getUserInfo
(
params
)
{
return
request
({
url
:
'/api/userinfo'
,
method
:
'
ge
t'
,
method
:
'
pos
t'
,
data
:
qs
.
stringify
(
params
)
})
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment