【fix bug】axios请求,put改为post,delete改为get

This commit is contained in:
zhaoxiao
2023-03-14 10:08:24 +08:00
parent 921e9d20bd
commit 8a45c78a57
43 changed files with 127 additions and 118 deletions
@@ -39,7 +39,7 @@
<script>
import { putAction } from '@/api/manage'
import { postAction } from '@/api/manage'
export default {
name: 'UserPassword',
@@ -112,7 +112,7 @@ export default {
that.confirmLoading = true
const params = Object.assign({ username: this.username }, values)
console.log('修改密码提交数据', params)
putAction(this.url, params).then((res) => {
postAction(this.url, params).then((res) => {
if (res.success) {
console.log(res)
that.$message.success(res.message)