Pārlūkot izejas kodu

[Fix 0000] 绿色主题的可配置首页不展示内容

houzekong 3 dienas atpakaļ
vecāks
revīzija
1e0e4be3c3
1 mainītis faili ar 20 papildinājumiem un 24 dzēšanām
  1. 20 24
      src/views/vent/home/configurable/common-green.vue

+ 20 - 24
src/views/vent/home/configurable/common-green.vue

@@ -5,33 +5,29 @@
       <div class="main-container">
         <div class="left-area">
           <!-- 采用定位方式以避免出现各个模块隐藏时其他模块下移的问题 -->
-          <template v-if="isOriginal">
-            <ModuleOriginal
-              v-for="cfg in configsLeft"
-              :key="cfg.deviceType"
-              :show-style="cfg.showStyle"
-              :module-data="cfg.moduleData"
-              :module-name="cfg.moduleName"
-              :device-type="cfg.deviceType"
-              :data="data"
-              :visible="true"
-            />
-          </template>
+          <ModuleOriginal
+            v-for="cfg in configsLeft"
+            :key="cfg.deviceType"
+            :show-style="cfg.showStyle"
+            :module-data="cfg.moduleData"
+            :module-name="cfg.moduleName"
+            :device-type="cfg.deviceType"
+            :data="data"
+            :visible="true"
+          />
         </div>
         <div class="bottom-area">
           <!-- 采用定位方式以避免出现各个模块隐藏时其他模块下移的问题 -->
-          <template v-if="isOriginal">
-            <ModuleOriginal
-              v-for="cfg in configsBottom"
-              :key="cfg.deviceType"
-              :show-style="cfg.showStyle"
-              :module-data="cfg.moduleData"
-              :module-name="cfg.moduleName"
-              :device-type="cfg.deviceType"
-              :data="data"
-              :visible="true"
-            />
-          </template>
+          <ModuleOriginal
+            v-for="cfg in configsBottom"
+            :key="cfg.deviceType"
+            :show-style="cfg.showStyle"
+            :module-data="cfg.moduleData"
+            :module-name="cfg.moduleName"
+            :device-type="cfg.deviceType"
+            :data="data"
+            :visible="true"
+          />
         </div>
         <div class="right-area">
           <greenRightTag />