From b150bbaa7d6a3f7a5e910fb901f78ea700326d78 Mon Sep 17 00:00:00 2001 From: lyp Date: Fri, 3 Jan 2025 16:16:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/menu/MenuWithTopButton.tsx | 3 ++- src/interfaces/menu/IMenuWithTopButton.ts | 1 + src/route/Correction/Correction.tsx | 2 +- src/route/index/Index.tsx | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/menu/MenuWithTopButton.tsx b/src/components/menu/MenuWithTopButton.tsx index b966b27..c31a73d 100644 --- a/src/components/menu/MenuWithTopButton.tsx +++ b/src/components/menu/MenuWithTopButton.tsx @@ -68,7 +68,8 @@ export default function MenuWithTopButton(props: IMenuWithTopButton) { correctionNumType: props.correctionNumType, correctionType: props.correctionType, applyStatus: props.correctionApplyStatus, - authorId: props.authorId + authorId: props.authorId, + tagCor:props.tagCor, } }) } diff --git a/src/interfaces/menu/IMenuWithTopButton.ts b/src/interfaces/menu/IMenuWithTopButton.ts index 0145ed5..e4c0837 100644 --- a/src/interfaces/menu/IMenuWithTopButton.ts +++ b/src/interfaces/menu/IMenuWithTopButton.ts @@ -31,6 +31,7 @@ export interface IMenuWithTopButton { correctionNumType?:string correctionType?:string correctionApplyStatus?:string + tagCor?:string // disableBelongpeople?:any // enableBelongpeople?:any } \ No newline at end of file diff --git a/src/route/Correction/Correction.tsx b/src/route/Correction/Correction.tsx index e515c6c..c8f06f7 100644 --- a/src/route/Correction/Correction.tsx +++ b/src/route/Correction/Correction.tsx @@ -736,7 +736,7 @@ export default function Correction() { value: item.key, label: item.value })); - console.log('标签信息', newarrty); + // console.log('标签信息', newarrty); setTagCorArray(newarrty) diff --git a/src/route/index/Index.tsx b/src/route/index/Index.tsx index 959b6fe..7eff8c1 100644 --- a/src/route/index/Index.tsx +++ b/src/route/index/Index.tsx @@ -1052,7 +1052,7 @@ export default function Index() { correctionNumType={correctionNumType ? correctionNumType : ''} correctionType={correctionType ? correctionType : ''} correctionApplyStatus={correctionApplyStatus ? correctionApplyStatus : ''} - + tagCor = {tagCor? tagCor : ''} // enableBelongpeople = {()=>{setClickBelongpeople(true)}} /> @@ -1339,7 +1339,7 @@ export default function Index() { value={tagDataId} style={{ height: '31px', width: '130px', marginLeft: 20, display: showSearchBox ? 'block' : 'none' }} onChange={(value: string) => { - console.log(`selected ${value}`); + // console.log(`selected ${value}`); // const [part1, part2] = value.split(':'); // console.log('part1:', part1); // console.log('part2:', part2);