处理options请求,解决跨域问题
This commit is contained in:
@@ -30,3 +30,10 @@ export function updateUser(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function hello() {
|
||||
return request({
|
||||
url: '/test1/hello',
|
||||
method: 'GET'
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user