BUG 20240827 7

This commit is contained in:
2024-08-28 00:57:26 +08:00
parent e87e5264a5
commit 08fc69dd60

View File

@@ -191,7 +191,7 @@ Vue.component("tableColumn", {
return config.custom ? h('div', {
style: {color: row.preSaleNum > row.stockNum ? 'red' : '#fff'}, class: 'pointer'
}, '周边库存情况') :
h('span', row[config.prop] ?? '')
h('span', config.format?.(row) ?? row[config.prop] ?? '')
}
}
})