Ver código fonte

默认列表不展开

lrf 2 anos atrás
pai
commit
1b0973995e
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/parts/table-1.vue

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

@@ -9,7 +9,7 @@
         :cell-style="{ textAlign: 'center' }"
         :header-cell-style="{ 'text-align': 'center' }"
         row-key="_id"
-        default-expand-all
+        :default-expand-all="false"
         v-loading="loading"
       >
         <el-table-column prop="name_zh" label="表名中文"> </el-table-column>