fix:修改 asset保存时 时间格式的相关问题以及 group隐藏全屏按钮

This commit is contained in:
zhangyu
2022-01-05 18:01:30 +08:00
parent 59615a0296
commit 94bc57885c
4 changed files with 38 additions and 10 deletions

View File

@@ -758,6 +758,19 @@ export default {
this.titleSearchList[key].show = true
this.detailSearchList[key].show = true
})
},
edit (u) {
this.$get(`${this.url}/${u.id}`).then(response => {
if (response.code === 200) {
if (response.data.purchaseDate) {
response.data.purchaseDate += ' 00:00:00'
response.data.purchaseDate = new Date(response.data.purchaseDate)
console.log(response.data.purchaseDate)
}
this.object = response.data
this.rightBox.show = true
}
})
}
},
created () {