处理options请求,解决跨域问题

This commit is contained in:
aoshiguchen
2022-07-30 15:55:57 +08:00
parent af3012478b
commit 4eb344fe94
29 changed files with 347 additions and 92 deletions
+7
View File
@@ -30,3 +30,10 @@ export function updateUser(data) {
data
})
}
export function hello() {
return request({
url: '/test1/hello',
method: 'GET'
})
}