更改请求方法

This commit is contained in:
谢思 2024-03-21 09:37:01 +08:00
parent 4d9aed91d6
commit 3e0f54014d
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class Setting extends Component {
const { private_check , project_units } = this.state;
const {project_language_id, project_category_id, pr_view_admin} = values;
const url = `/${owner}/${projectsId}.json`;
axios.put(url, {
axios.patch(url, {
name: values.project_name,
description: values.project_description,
private: private_check,