附件数量为0时不打开预览弹框
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1e5bd46a40
commit
faaaf8f28f
|
@ -141,7 +141,7 @@ export default {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (res.IsSuccess) {
|
if (res.IsSuccess) {
|
||||||
this.list = res.Result.CurrentPageData
|
this.list = res.Result.CurrentPageData
|
||||||
this.rowData = this.list[0]
|
this.rowData = this.list[0] || {}
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
|
|
|
@ -300,6 +300,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openAttachment(row) {
|
openAttachment(row) {
|
||||||
|
if (!row.AttachmentCount) return false
|
||||||
this.SystemDocumentId = row.Id
|
this.SystemDocumentId = row.Id
|
||||||
this.perview_visible = true
|
this.perview_visible = true
|
||||||
},
|
},
|
||||||
|
|
|
@ -194,6 +194,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openAttachment(row) {
|
openAttachment(row) {
|
||||||
|
if (!row.AttachmentCount) return false
|
||||||
this.SystemDocumentId = row.Id
|
this.SystemDocumentId = row.Id
|
||||||
this.perview_visible = true
|
this.perview_visible = true
|
||||||
},
|
},
|
||||||
|
|
|
@ -159,6 +159,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openAttachment(row) {
|
openAttachment(row) {
|
||||||
|
if (!row.AttachmentCount) return false
|
||||||
this.SystemDocumentId = row.Id
|
this.SystemDocumentId = row.Id
|
||||||
this.perview_visible = true
|
this.perview_visible = true
|
||||||
},
|
},
|
||||||
|
|
|
@ -139,6 +139,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openAttachment(row) {
|
openAttachment(row) {
|
||||||
|
if (!row.AttachmentCount) return false
|
||||||
this.SystemDocumentId = row.Id
|
this.SystemDocumentId = row.Id
|
||||||
this.perview_visible = true
|
this.perview_visible = true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue