This commit is contained in:
bb_pan 2025-10-10 21:54:49 +08:00
parent d87d9f3453
commit 070db3d099
1 changed files with 3 additions and 2 deletions

View File

@ -220,11 +220,12 @@ export default {
try {
const res = await getApproveListApi({ id: this.rowId })
console.log('🚀 ~ getSignList ~ res:', res)
if (res.data.approveSignList && res.data.approveSignList.length > 1) {
if (res.data.approveSignList && res.data.approveSignList.length > 0) {
this.leaseApplyData = res.data.approveSignList[0]
console.log('🚀 ~ getSignList ~ this.leaseApplyData:', this.leaseApplyData)
this.approveSignList = res.data.approveSignList.slice(1).filter(item => item != null && item !== '')
console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList)
}
console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList)
} catch (error) {
console.log('🚀 ~ getSignList ~ error:', error)
}