|  | @@ -168,7 +168,7 @@ export default {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |        const formData = new FormData();
 |  |        const formData = new FormData();
 | 
											
												
													
														|  |        formData.append("avatar", url);
 |  |        formData.append("avatar", url);
 | 
											
												
													
														|  | -      uploadAvatar(formData).then(response => {
 |  | 
 | 
											
												
													
														|  | 
 |  | +      uploadAvatar({ avatar: url }).then(response => {
 | 
											
												
													
														|  |          if (response.code === 200) {
 |  |          if (response.code === 200) {
 | 
											
												
													
														|  |            this.options.img = url;
 |  |            this.options.img = url;
 | 
											
												
													
														|  |            this.msgSuccess("修改成功");
 |  |            this.msgSuccess("修改成功");
 |