forked from github/dataease
fix(数据集): 任务管理中设置开始时间
This commit is contained in:
parent
50d7be8780
commit
57855c5937
@ -341,7 +341,10 @@ export default {
|
|||||||
created() {
|
created() {
|
||||||
const { datasetName, id } = this.$route.query;
|
const { datasetName, id } = this.$route.query;
|
||||||
this.taskDetail = { datasetName, id };
|
this.taskDetail = { datasetName, id };
|
||||||
if (!id) return;
|
if (!id) {
|
||||||
|
this.taskForm.startTime = new Date()
|
||||||
|
return;
|
||||||
|
};
|
||||||
this.getTaskDetail(id);
|
this.getTaskDetail(id);
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -638,4 +641,4 @@ export default {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user