Sfoglia il codice sorgente

Merge branch 'develop' of http://39.106.8.246:3003/web/wanda-bm-guide into develop

YaolongHan 4 anni fa
parent
commit
92189ca2ba
1 ha cambiato i file con 7 aggiunte e 8 eliminazioni
  1. 7 8
      src/components/viewLengend.vue

+ 7 - 8
src/components/viewLengend.vue

@@ -30,7 +30,6 @@
                 ref='dataTable'
                 v-if='legendTable.length>=0'
                 :data='legendTable'
-                :height='tableHeight'
                 tooltip-effect='dark'
                 style='width:100%;'
                 @selection-change='handleSelectionChange'
@@ -109,13 +108,13 @@ export default {
     },
     computed: {
         ...mapGetters(['scpzTable', 'legendTable', 'remarksText']),
-        tableHeight() {
-            if (window.screen.height > 1000) {
-                return 500
-            } else {
-                return 334
-            }
-        },
+        // tableHeight() {
+        //     if (window.screen.height > 1000) {
+        //         return 500
+        //     } else {
+        //         return 334
+        //     }
+        // },
         // initText() {
         // if (this.defaultComment) {
         //     return this.defaultComment