Skip to content

Commit

Permalink
Merge pull request #2 from gouzil/page/fix_task_category
Browse files Browse the repository at this point in the history
🐛 fix(SemanticSegmentation): save no finlyList and open class select
  • Loading branch information
Liyulingyue authored Jun 21, 2024
2 parents ca39744 + 1c5e74e commit 21e54d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/PPCreator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Title from 'antd/lib/typography/Title';
import { history } from 'umi';
import styles from './index.less';
import serviceUtils from '@/services/serviceUtils';
import { createInfo, camel2snake, IntlInit } from '@/services/utils';
import { createInfo, camel2snake, IntlInit, sampleApi, snake2camel } from '@/services/utils';
import { ProjectUtils } from '@/services/utils';
import { IntlInitJsx } from '@/components/PPIntl';
import type { ImportOption } from '@/services/web';
Expand Down Expand Up @@ -267,7 +267,7 @@ const PPCreator: React.FC<PPCreatorProps> = (props) => {
</Form.Item>
{renderImportOptions()}

{/* <Form.Item
<Form.Item
name="labelFormat"
label={
<p
Expand Down Expand Up @@ -334,7 +334,7 @@ const PPCreator: React.FC<PPCreatorProps> = (props) => {
</Radio>
))}
</Radio.Group>
</Form.Item> */}
</Form.Item>

{/* <Form.Item
name="segMaskType"
Expand Down
1 change: 1 addition & 0 deletions src/pages/SemanticSegmentation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ const Page: React.FC = () => {
onMouseUp: () => {
if (interactorData.active) return;
annHistory.record({ annos: annotation.all, currAnno: annotation.curr });
savefinlyList();
},
frontendIdOps: { frontendId: frontendId, setFrontendId: setFrontendId },
model: model,
Expand Down

0 comments on commit 21e54d9

Please sign in to comment.