From 276637363293e85b5ab3cdc9f5c16c3e3b823b78 Mon Sep 17 00:00:00 2001
From: 648540858 <18010473990@163.com>
Date: 星期日, 26 九月 2021 11:45:03 +0800
Subject: [PATCH] 修复默认media未保存到数据库的bug

---
 web_src/src/components/dialog/changePassword.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web_src/src/components/dialog/changePassword.vue b/web_src/src/components/dialog/changePassword.vue
index 39aba8d..eade6a8 100644
--- a/web_src/src/components/dialog/changePassword.vue
+++ b/web_src/src/components/dialog/changePassword.vue
@@ -89,7 +89,7 @@
         method: 'post',
         url:"/api/user/changePassword",
         params: {
-          oldpassword: crypto.createHash('md5').update(this.oldPassword, "utf8").digest('hex'),
+          oldPassword: crypto.createHash('md5').update(this.oldPassword, "utf8").digest('hex'),
           password: this.newPassword
         }
       }).then((res)=> {

--
Gitblit v1.8.0