Prechádzať zdrojové kódy

chore(scrolllist): fix scrollList story random value

shijia.me 3 rokov pred
rodič
commit
a6e9b6d259

+ 1 - 1
packages/semi-ui/scrollList/_story/ScrollList/index.js

@@ -11,7 +11,7 @@ class ScrollListDemo extends React.Component {
         };
 
         this.list = new Array(20).fill(0).map((itm, index) => {
-            return { value: index, disabled: Math.random() + 0.2 > 1 };
+            return { value: index };
         });
     }