tangning 5 月之前
父节点
当前提交
510ad50252
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/views/empower/index.vue

+ 4 - 1
src/views/empower/index.vue

@@ -109,7 +109,10 @@
           dataIndex: 'authorizeTime',
           width: 220,
           customRender: ({ record }) => {
-            return record.authorizeStartTime + '~' + record.authorizeEndTime
+            if(record.authorizeStartTime && record.authorizeEndTime){
+              return record.authorizeStartTime + '~' + record.authorizeEndTime;
+            }
+            return '-'
           },
         },
         {