Kaynağa Gözat

Merge branch 'develop_yh21' of jianguan-web/qpls-it-html into pre-release

李磊 1 yıl önce
ebeveyn
işleme
9ee1b5fbe9
1 değiştirilmiş dosya ile 5 ekleme ve 2 silme
  1. 5 2
      src/views/power/menuMould/list.vue

+ 5 - 2
src/views/power/menuMould/list.vue

@@ -8,7 +8,6 @@
       :rowKey="(record) => record.id"
       :columns="columns"
       :data="loadData"
-      :scroll="{ y: 300 }"
       bordered>
       <!-- 操作 -->
       <template slot="action" slot-scope="text, record">
@@ -50,9 +49,13 @@ export default {
       },
       openModal: false, //  新增编辑客户类型  弹框
       itemId: '', //  当前id
-      nowData: null //  当前记录数据
+      nowData: null, //  当前,,数据
+      tableHeight: 300
     }
   },
+  mounted () {
+    this.tableHeight = window.innerHeight - 360
+  },
   methods: {
     // 菜单权限设置
     handleSet (row) {