附件数量为0时不打开预览弹框
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-04-15 17:39:54 +08:00
parent 1e5bd46a40
commit faaaf8f28f
5 changed files with 5 additions and 1 deletions
@@ -141,7 +141,7 @@ export default {
this.loading = false
if (res.IsSuccess) {
this.list = res.Result.CurrentPageData
this.rowData = this.list[0]
this.rowData = this.list[0] || {}
}
} catch (err) {
this.loading = false
@@ -300,6 +300,7 @@ export default {
},
methods: {
openAttachment(row) {
if (!row.AttachmentCount) return false
this.SystemDocumentId = row.Id
this.perview_visible = true
},
@@ -194,6 +194,7 @@ export default {
},
methods: {
openAttachment(row) {
if (!row.AttachmentCount) return false
this.SystemDocumentId = row.Id
this.perview_visible = true
},
@@ -159,6 +159,7 @@ export default {
},
methods: {
openAttachment(row) {
if (!row.AttachmentCount) return false
this.SystemDocumentId = row.Id
this.perview_visible = true
},
@@ -139,6 +139,7 @@ export default {
},
methods: {
openAttachment(row) {
if (!row.AttachmentCount) return false
this.SystemDocumentId = row.Id
this.perview_visible = true
},