From 5bdad04e004b0a2de8b309fc8de28db3455358d6 Mon Sep 17 00:00:00 2001 From: Liu YaoWen <576079353@qq.com> Date: Fri, 27 Oct 2023 17:51:59 +0800 Subject: [PATCH] =?UTF-8?q?md:=20=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c9dc3d3..4323db8 100755 --- a/README.md +++ b/README.md @@ -94,18 +94,21 @@ const waterfall = ref(null) waterfall.value.renderer() ``` -`breakpoints` +`breakpoints`默认值,当此属性生效时,width失效 ```javascript breakpoints: { - 1200: { //当屏幕宽度小于等于1200 - rowPerView: 4, - }, - 800: { //当屏幕宽度小于等于800 + 1200: { + // when wrapper width < 1200 rowPerView: 3, }, - 500: { //当屏幕宽度小于等于500 + 800: { + // when wrapper width < 800 rowPerView: 2, - } + }, + 500: { + // when wrapper width < 500 + rowPerView: 1, + }, } ```