This commit is contained in:
bb_pan 2026-01-06 20:05:22 +08:00
parent 2989b52fa1
commit 73ea741726
1 changed files with 2 additions and 2 deletions

View File

@ -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) {