Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
e92c848c
Commit
e92c848c
authored
Sep 05, 2022
by
jiangzijing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug:改基本信息丢失filetoken
parent
a6dd469e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
index.tsx
src/views/Project/ProjectSetting/BaseInfo/index.tsx
+2
-0
No files found.
src/views/Project/ProjectSetting/BaseInfo/index.tsx
View file @
e92c848c
...
...
@@ -39,6 +39,7 @@ type zoneIdOption = {
const
BaseInfo
=
observer
(()
=>
{
const
message
=
useMessage
();
const
{
currentProjectStore
}
=
useStores
();
const
fileToken
=
toJS
(
currentProjectStore
.
currentProjectInfo
.
filetoken
);
const
[
projectInfo
,
setProjectInfo
]
=
useState
<
any
>
({});
const
[
deleteProjectName
,
setDeleteProjectName
]
=
useState
(
""
);
const
[
nameCheck
,
setNameCheck
]
=
useState
({
...
...
@@ -259,6 +260,7 @@ const BaseInfo = observer(() => {
message
.
success
(
"修改成功"
);
const
projectList
=
await
getProjectList
();
currentProjectStore
.
setProjectList
(
projectList
);
projectInfo
.
filetoken
=
fileToken
;
currentProjectStore
.
changeProject
(
projectInfo
);
},
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment