1
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-09-30 10:01:49 +08:00
parent df417afbbb
commit 7d9be5e2b3
1 changed files with 2 additions and 4 deletions

View File

@ -100,7 +100,7 @@ export default {
handler() {
if (this.state === 'edit') {
Object.keys(this.from).forEach(key => {
if (this.rowData[key]) {
if (this.rowData[key] || this.rowData[key] == 0) {
this.from[key] = this.rowData[key]
}
})
@ -108,9 +108,7 @@ export default {
this.from.ViewTime = [this.from.BeginTime, this.from.EndTime]
} else {
Object.keys(this.from).forEach(key => {
if (this.rowData[key]) {
this.from[key] = ''
}
this.from[key] = ''
})
this.from.ViewTime = []
this.from.IdnetityUserIdList = []