moccus преди 2 години
родител
ревизия
39d8b0e673
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/setting.vue

+ 1 - 1
src/components/setting.vue

@@ -355,7 +355,7 @@
                   <div class="button" v-show="earlyWarningStop.enable" @click="toggleRowExpansionAll(true,'dataEarlyWarningStopList',alertInfos)">全部展开</div>
                   <div class="button" v-show="earlyWarningStop.enable" @click="toggleRowExpansionAll(false,'dataEarlyWarningStopList',alertInfos)">全部收回</div>
                 </div>
-                <el-table :data="alertInfos" v-show="earlyWarningStop.enable" row-key="id" border ref="dataEarlyWarningStopList"
+                <el-table :data="alertInfos" v-show="earlyWarningStop.enable" default-expand-all row-key="id" border ref="dataEarlyWarningStopList"
                   :tree-props="{ children: 'children', hasChildren: false }" height="70vh"
                   style="background-color: #000000;border: 1px solid #000000;" :header-cell-style="{
                     background: 'rgb(30,30,30)',