完善登录页面
This commit is contained in:
@@ -3,7 +3,7 @@ import myaxios from '@/utils/myaxios.ts'
|
||||
export default{
|
||||
upload(type:string,data:any){
|
||||
return myaxios({
|
||||
url: `/upload/${type}`,
|
||||
url: `/file/upload/${type}`,
|
||||
headers:{"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"},
|
||||
method: 'POST',
|
||||
data:data
|
||||
|
||||
Reference in New Issue
Block a user