소스 검색

提交滚动条

chenlong 1 년 전
부모
커밋
670705b64d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/components/weather/index.vue

+ 4 - 0
src/components/weather/index.vue

@@ -67,6 +67,10 @@ onMounted(() => {
 });
 </script>
 <style scoped lang="less">
+.weather-ul{
+  height: 240px;
+  overflow: auto;
+}
 .weather {
   padding: 10px;
 }