Prechádzať zdrojové kódy

el-table 下拉问题

DESKTOP-MINPJAU\Administrator 3 rokov pred
rodič
commit
bbd2f19857
1 zmenil súbory, kde vykonal 10 pridanie a 1 odobranie
  1. 10 1
      src/views/med-tec-mod/QueRenYiZhuShouFei.vue

+ 10 - 1
src/views/med-tec-mod/QueRenYiZhuShouFei.vue

@@ -161,6 +161,7 @@
             :data="lingShiQueFeiShuJu.list.slice((lingShiQueFeiShuJu.currentPage - 1) * lingShiQueFeiShuJu.pageSize, lingShiQueFeiShuJu.currentPage * lingShiQueFeiShuJu.pageSize)"
             highlight-current-row
             stripe
+            class="qf_table"
             :height="360">
           <el-table-column label="医嘱信息">
             <el-table-column prop="actOrderNo" label="医嘱号"></el-table-column>
@@ -565,4 +566,12 @@ function yiZhuZhuangTai(val) {
 }
 </script>
 
-<style></style>
+<style scoped lang="scss">
+.qf_table {
+
+  :deep(.el-table__inner-wrapper .el-table__body-wrapper ) {
+    overflow: scroll;
+  }
+
+}
+</style>