|
@@ -336,7 +336,7 @@ export default {
|
|
|
// 表单校验
|
|
|
this.$refs[formName].validate(valid => {
|
|
|
if (valid) {
|
|
|
- if (this.createTaskForm.c_doubtful_points.length > 0) {
|
|
|
+ if (this.createTaskForm.c_doubtful_points.length > 0 || this.createTaskForm.myMarkers.length > 0) {
|
|
|
let content_ = {
|
|
|
title: this.createTaskForm.c_task_name,
|
|
|
content: this.createTaskForm.content,
|
|
@@ -425,7 +425,7 @@ export default {
|
|
|
});
|
|
|
} else {
|
|
|
this.submitLoading = false;
|
|
|
- this.$message.warning("请先选择疑点后提交!");
|
|
|
+ this.$message.warning("请先选择疑点或标记后提交!");
|
|
|
}
|
|
|
} else {
|
|
|
return false;
|