diff --git a/src/api/componentTestCase.ts b/src/api/componentTestCase.ts
index 1ac28e4..218eb44 100644
--- a/src/api/componentTestCase.ts
+++ b/src/api/componentTestCase.ts
@@ -48,4 +48,9 @@ export function importTestCases(params: { componentBaseId: string, file: File })
'Content-Type': 'multipart/form-data'
}
});
+}
+
+// 开启测试用例
+export function startTestCase(id) {
+ return axios.get(`${urlPrefix}/componentTestCase/connect`, { params: { id } });
}
\ No newline at end of file
diff --git a/src/pages/componentDevelopment/componentList/index.tsx b/src/pages/componentDevelopment/componentList/index.tsx
index 8de594d..3f9063e 100644
--- a/src/pages/componentDevelopment/componentList/index.tsx
+++ b/src/pages/componentDevelopment/componentList/index.tsx
@@ -629,32 +629,32 @@ const GlobalVarContainer = () => {
-
- {[{ label: '全部', value: '' }, ...componentStatusDict].map((item) => {
- return (
-
- {({ checked }) => {
- return (
-
- );
- }}
-
- );
- })}
-
+ {/**/}
+ {/* {[{ label: '全部', value: '' }, ...componentStatusDict].map((item) => {*/}
+ {/* return (*/}
+ {/* */}
+ {/* {({ checked }) => {*/}
+ {/* return (*/}
+ {/* */}
+ {/* );*/}
+ {/* }}*/}
+ {/* */}
+ {/* );*/}
+ {/* })}*/}
+ {/**/}
{selectedItem === '我的组件' && }>
{/**/}
}
-
{/*数据列表*/}
diff --git a/src/pages/componentDevelopment/componentList/style/index.module.less b/src/pages/componentDevelopment/componentList/style/index.module.less
index e37e8fa..d28da67 100644
--- a/src/pages/componentDevelopment/componentList/style/index.module.less
+++ b/src/pages/componentDevelopment/componentList/style/index.module.less
@@ -40,12 +40,16 @@
justify-content: space-between;
margin-bottom: 15px;
flex-shrink: 0;
+ flex-direction: column;
.comp-list-title {
font-size: 18px;
font-weight: 700;
}
+ .comp-list-search {
+ margin-bottom: 20px;
+ }
.comp-list-handle {
}
}