Explorar o código

windowSize组件添加滚动条

lighter %!s(int64=2) %!d(string=hai) anos
pai
achega
4299a8aff5
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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,