From b1aa079c319ad6140847c1938bc8a25bc090f491 Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Wed, 10 Aug 2022 16:21:27 +0800 Subject: [PATCH] wip --- themes/default/account/account.blade.php | 2 +- themes/default/account/edit.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/account/account.blade.php b/themes/default/account/account.blade.php index 77e9ac77..a93c4954 100644 --- a/themes/default/account/account.blade.php +++ b/themes/default/account/account.blade.php @@ -24,7 +24,7 @@
个人中心
- 修改信息 + 修改信息
diff --git a/themes/default/account/edit.blade.php b/themes/default/account/edit.blade.php index 99f61836..22886171 100644 --- a/themes/default/account/edit.blade.php +++ b/themes/default/account/edit.blade.php @@ -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); }) });