重新构建一遍okr-tree

This commit is contained in:
aixianling
2022-08-23 10:41:16 +08:00
parent 3c499a1f8d
commit a0d348748c
8 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ export default {
}).then(res => {
if (res?.data) {
this.tableData = res.data?.records.map(e => {
let guaranteeModeLabel = e.guaranteeMode.split(",").map(g => this.dict.getLabel("productGuaranteeMode", g))?.toString()
let guaranteeModeLabel = e.guaranteeMode?.split(",").map(g => this.dict.getLabel("productGuaranteeMode", g))?.toString()
return {...e, guaranteeModeLabel}
})
this.page.total = res.data.total