--fix bug

This commit is contained in:
yuping
2023-03-21 00:30:54 +08:00
parent 9ed591b258
commit 0fbf1ad6cd

View File

@@ -286,8 +286,7 @@ const columns = ref([
key: "opacation",
width: 50,
align: "center",
customRender: (text) => <div class="opa"
onClick={() => showExamAnswer(text)}>{data.value[coursePlanIndex.value]?.testId ? "查看答卷" : ""}</div>
customRender: (text) => <div class="opa" onClick={() => showExamAnswer(text)}>{data.value[coursePlanIndex.value]?.answerId ? "查看答卷" : ""}</div>
},
]);
watch(() => data.value.length, () => {