This commit is contained in:
parent
2989b52fa1
commit
73ea741726
|
|
@ -194,11 +194,11 @@ export default {
|
|||
async getDetail() {
|
||||
const id = this.$route.query.id
|
||||
if (id === 'new') {
|
||||
this.isNew = false
|
||||
this.isNew = true
|
||||
this.baseInfo.createUser = this.$store.state.user?.nickName || '当前用户'
|
||||
this.baseInfo.createTime = new Date().toLocaleString()
|
||||
} else {
|
||||
this.isNew = true
|
||||
this.isNew = false
|
||||
// 从query参数中获取任务基本信息
|
||||
const taskInfoStr = this.$route.query.taskInfo
|
||||
if (taskInfoStr) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue