mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 11:56:48 +08:00
fix:评估提交增加二次提示
This commit is contained in:
@@ -281,6 +281,9 @@ const open = () => {
|
|||||||
|
|
||||||
const isEmptyValue = ref(false);
|
const isEmptyValue = ref(false);
|
||||||
function emptyValuePromp() {
|
function emptyValuePromp() {
|
||||||
|
if (data.value.isSubmit) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (data.value.singleStemVoList?.some(t=>t?.assessmentSingleChoiceVoList?.every(s => !s?.select))) {
|
if (data.value.singleStemVoList?.some(t=>t?.assessmentSingleChoiceVoList?.every(s => !s?.select))) {
|
||||||
isEmptyValue.value = true;
|
isEmptyValue.value = true;
|
||||||
// return ElMessage.warning("您有未填写的单选评估题干");
|
// return ElMessage.warning("您有未填写的单选评估题干");
|
||||||
|
|||||||
Reference in New Issue
Block a user