作业控制

This commit is contained in:
daihh
2022-11-16 18:58:35 +08:00
parent 442ce092db
commit df84a2d330

View File

@@ -45,7 +45,7 @@
<view class="hwlist content" v-if="records.length>0">
<view class="hwlist-row" v-for="record in records" :key="record.id">
<view class="hwlist-info-title">
<view></view>
<view>已提交作业</view>
<view class="hwlist-info-time">{{record.endTime}}</view>
</view>
<view>
@@ -178,7 +178,7 @@
uni.showToast({title:'提交成功',type:'success'})
this.filePath='';
this.answer='';
this.records.push(res.result);
this.records=[res.result];
this.$emit("submit", this.content);
}else {
this.$message.error(res.message);