web_src/src/components/dialog/changePassword.vue
@@ -90,13 +90,13 @@ onSubmit: function () { this.$axios({ method: 'post', url:"/api/user/changePassword", url:"./api/user/changePassword", params: { oldPassword: crypto.createHash('md5').update(this.oldPassword, "utf8").digest('hex'), password: this.newPassword } }).then((res)=> { if (res.data === "success"){ if (res.data.code === 0) { this.$message({ showClose: true, message: '修改成功,请重新登录',