|
@@ -491,7 +491,7 @@ const DrawImage = () => {
|
|
|
context.fillStyle = 'rgba(255,0,0,0.3)'
|
|
context.fillStyle = 'rgba(255,0,0,0.3)'
|
|
|
context.strokeStyle = props.currentId == item.id ? 'blue' : 'red'
|
|
context.strokeStyle = props.currentId == item.id ? 'blue' : 'red'
|
|
|
}
|
|
}
|
|
|
- console.log("打印画框的地方answerItem"+'当前的题目'+topicItem.topicName+"当前答案:"+answerItem.title+'当前check:'+ answerItem.isCheck)
|
|
|
|
|
|
|
+ // console.log("打印画框的地方answerItem"+'当前的题目'+topicItem.topicName+"当前答案:"+answerItem.title+'当前check:'+ answerItem.isCheck)
|
|
|
if (answerItem?.isCheck) {
|
|
if (answerItem?.isCheck) {
|
|
|
context.fillStyle = 'rgba(255,0,0,0.4)'; // 红色背景
|
|
context.fillStyle = 'rgba(255,0,0,0.4)'; // 红色背景
|
|
|
context.strokeStyle = 'red';//红色边框
|
|
context.strokeStyle = 'red';//红色边框
|