This commit is contained in:
caishi 2025-05-22 16:21:16 +08:00
parent 817ebd25cc
commit ebbba6815a
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ class Setting extends Component {
this.getLanguage(result.data.project_language_id);
this.setState({
projectName:result.data.project_name,
private_check: !result.data.private,
private_check: result.data.private,
prview_check:result.data.pr_view_admin,
loading:false,
project_units:units,
@ -178,10 +178,10 @@ class Setting extends Component {
axios.patch(url, {
name: values.project_name,
description: values.project_description,
private: !private_check,
identifier:values.project_identifier,
pr_view_admin,
...values,
private: private_check,
project_language_id , project_category_id
}).then((result) => {
if (result) {