no message

This commit is contained in:
mll
2026-02-11 11:30:30 +08:00
parent 09a300e98a
commit 7555c7093d

View File

@@ -187,7 +187,8 @@ export const useRenderVxeColumn = (useType = 'table') => {
default: (renderOpts, { row, column }, isStop = false) => { default: (renderOpts, { row, column }, isStop = false) => {
const { dicData } = renderOpts const { dicData } = renderOpts
const value = row[column.field] const value = row[column.field]
const valStr=dicData.filter(item=>value.includes(item.value)).map(item=>item.label).join('')
const valStr=value?dicData.filter(item=>value.includes(item.value)).map(item=>item.label).join(''):''
return <span>{valStr}</span> return <span>{valStr}</span>
}, },
edit: (renderOpts, { row, rowIndex, column }) => { edit: (renderOpts, { row, rowIndex, column }) => {