|
@@ -77,7 +77,7 @@ export default {
|
|
|
save() {
|
|
|
console.log(this.dataList);
|
|
|
for(var i=0;i<this.dataList.length;i++){
|
|
|
- if(!this.dataList[i].comment){
|
|
|
+ if(this.dataList[i].comment=='' || this.dataList[i].comment==[]){
|
|
|
this.$message.error('还有题目未完成,无法提交!');
|
|
|
return
|
|
|
}
|