Browse Source

windowSize组件添加滚动条

lighter 2 years ago
parent
commit
4299a8aff5
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/window-size/Index.vue

+ 2 - 1
src/components/window-size/Index.vue

@@ -16,7 +16,8 @@ export default {
       background: 'white',
       zIndex: 9999,
       width: windowSize.width,
-      height: windowSize.height
+      height: windowSize.height,
+      overflowY: 'scroll',
     }
     return {
       wrapperStyle,