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
2489ece8
Commit
2489ece8
authored
Jul 11, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 模板类型变化时重新获取模板列表数据
parent
cdef5978
Pipeline
#189
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.tsx
...kbench/workbenchTemplate/components/AddTemplate/index.tsx
+2
-1
No files found.
src/views/Project/ProjectWorkbench/workbenchTemplate/components/AddTemplate/index.tsx
View file @
2489ece8
...
@@ -110,11 +110,12 @@ const AddTemplate = observer((props: IAddTemplateProps) => {
...
@@ -110,11 +110,12 @@ const AddTemplate = observer((props: IAddTemplateProps) => {
};
};
useEffect
(()
=>
{
useEffect
(()
=>
{
setSelectTemplateData
([]);
getAddTemplateList
({
getAddTemplateList
({
projectId
:
projectId
as
string
,
projectId
:
projectId
as
string
,
productId
:
productId
as
string
,
productId
:
productId
as
string
,
});
});
},
[
getAddTemplateList
,
projectId
,
productId
]);
},
[
templateType
,
getAddTemplateList
,
projectId
,
productId
]);
const
hiddenBoxArr
=
useMemo
(()
=>
{
const
hiddenBoxArr
=
useMemo
(()
=>
{
const
length
=
const
length
=
...
...
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