Explorar o código

默认列表不展开

lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
1b0973995e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>