Skip to content

Commit 65c9855

Browse files
author
purpleroc
committed
更新prompt展示问题
1 parent 9fde9fe commit 65c9855

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/SecurityPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,7 +1507,7 @@ const SecurityPanel: React.FC = () => {
15071507

15081508
const showPromptDetail = (prompt: any) => {
15091509
Modal.info({
1510-
title: `${t.security.promptSecurityAnalysis}: ${prompt.promptName}`,
1510+
title: `${t.security.promptSecurityAnalysis}: ${prompt.name}`,
15111511
width: 900,
15121512
content: (
15131513
<div>
@@ -3014,7 +3014,7 @@ const SecurityPanel: React.FC = () => {
30143014
key: 'promptName',
30153015
render: (name: string, record: any) => (
30163016
<Space>
3017-
<span>{name}</span>
3017+
<span>{record.name}</span>
30183018
{record.scanType === 'passive' ? (
30193019
<Tag color="blue">{t.security.history.passiveDetection}</Tag>
30203020
) : (

0 commit comments

Comments
 (0)