wip
This commit is contained in:
parent
bc8fb4f929
commit
b1aa079c31
|
|
@ -24,7 +24,7 @@
|
|||
<div class="card mb-4 account-card">
|
||||
<div class="card-header d-flex justify-content-between align-items-center">
|
||||
<h5 class="card-title">个人中心</h5>
|
||||
<a href="http://" class="text-muted">修改信息</a>
|
||||
<a href="{{ shop_route('account.edit.index') }}" class="text-muted">修改信息</a>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="d-flex flex-nowrap card-items py-2">
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@
|
|||
|
||||
formData.append('file', blob, 'avatar.png');
|
||||
formData.append('type', 'avatar');
|
||||
$http.put('{{ shop_route('file.store') }}', formData).then(res => {
|
||||
$http.post('{{ shop_route('file.store') }}', formData).then(res => {
|
||||
console.log(res);
|
||||
})
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue