ソースを参照

chore(scrolllist): fix scrollList story random value

shijia.me 3 年 前
コミット
a6e9b6d259
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/semi-ui/scrollList/_story/ScrollList/index.js

+ 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 };
         });
     }