huangbin 4 gadi atpakaļ
vecāks
revīzija
6417d9eeac

+ 12 - 2
src/views/account-manager/account-manager-agency/account-manager-agency-sub/index.vue

@@ -46,7 +46,7 @@
                :pagination="false"
                rowKey="key"
                :data-source="detailList"
-               :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }">
+               :scroll="{ x: '100%', y: 'calc(100% - 36px)' }">
         <template #updatetime="{ text }">
           <span>{{ formatTime(text) }}</span>
         </template>
@@ -218,7 +218,17 @@ export default defineComponent({
 });
 </script>
 
-<style lang="less" scope>
+<style lang="less" scoped>
+/deep/.topTable {
+    .ant-table {
+        .ant-table-content {
+            height: 100%;
+            .ant-table-scroll {
+                height: 100%;
+            }
+        }
+    }
+}
 .add-svg {
     color: var(--m-blue0);
     font-size: 22px;