فهرست منبع

feat:table 详情备注字段

ljc 1 ماه پیش
والد
کامیت
4d6752c4a1
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      components/cwg-detail-popup.vue

+ 4 - 0
components/cwg-detail-popup.vue

@@ -77,6 +77,10 @@ const formatTagText = (value, column) => {
     return value || '-'
 }
 const formatCellValue = (value, column, row) => {
+    // note , 详情展示备注
+    if (column.type === 'note') {
+       return row.note
+    }
     if (column.formatter) {
         return column.formatter({ value, row })
     }