fix(数据集): 任务管理中设置开始时间

This commit is contained in:
taojinlong 2022-08-25 15:39:07 +08:00
parent 50d7be8780
commit 57855c5937

View File

@ -341,7 +341,10 @@ export default {
created() {
const { datasetName, id } = this.$route.query;
this.taskDetail = { datasetName, id };
if (!id) return;
if (!id) {
this.taskForm.startTime = new Date()
return;
};
this.getTaskDetail(id);
},
methods: {
@ -638,4 +641,4 @@ export default {
text-align: right;
}
}
</style>
</style>