This commit is contained in:
nopy 2024-07-08 15:30:02 +08:00
commit 48d933f218
1 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ function Questionmange(){
<td>{data[key][4]}</td>
<td>{data[key][5]}</td>
<td>{data[key][6]}</td>
{isTrue&&<td><input type="checkbox" onChange={(e) => handChoiceChange(e, data[key][7])} /></td>}
{isTrue&&<td><input type="checkbox" onChange={(e) => handChoiceChange(e, data[key][7])} />是否删除</td>}
</tr>
))}
</div>
@ -222,7 +222,7 @@ function Questionmange(){
</tr>
{Object.keys(data).map((key)=>(
<tr key={key} className='question-box'>
<td>{data[key][3]}</td><td>{data[key][1]}</td><td>{data[key][2]}</td>{isTrue&&<td><input type="checkbox" onChange={(e) => handCompleChange(e, data[key][3])} /></td>}
<td>{data[key][3]}</td><td>{data[key][1]}</td><td>{data[key][2]}</td>{isTrue&&<td><input type="checkbox" onChange={(e) => handCompleChange(e, data[key][3])} />是否删除</td>}
</tr>
))}
</div>
@ -236,7 +236,7 @@ function Questionmange(){
</tr>
{Object.keys(data).map((key)=>(
<tr key={key} className='question-box'>
<td>{data[key][3]}</td><td>{data[key][1]}</td><td>{data[key][2]}</td>{isTrue&&<td><input type="checkbox" onChange={(e) => handJudgeChange(e, data[key][3])} /></td>}
<td>{data[key][3]}</td><td>{data[key][1]}</td><td>{data[key][2]}</td>{isTrue&&<td><input type="checkbox" onChange={(e) => handJudgeChange(e, data[key][3])} />是否删除</td>}
</tr>
))}
</div>