zhaoke 1 년 전
부모
커밋
c639bd48b5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/table/index.vue

+ 1 - 1
src/views/table/index.vue

@@ -354,7 +354,7 @@ export default {
             const columnName = returnData.find(
               (item) => item.columnKey == 1
             );
-            if (Object.keys(columnName).length && columnName) {
+            if (columnName && Object.keys(columnName).length) {
               this.tableKey = columnName['columnName']
             }
             if (titleColumn) {