瀏覽代碼

windowSize组件添加滚动条

lighter 2 年之前
父節點
當前提交
4299a8aff5
共有 1 個文件被更改,包括 2 次插入1 次删除
  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,