Преглед на файлове

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,