Ruoru

Results 11 issues of Ruoru

issue #218

pr #219 1. [picker_group](https://github.com/weui/react-weui/blob/master/src/components/picker/picker_group.js#L63-L79) 这里的代码不需要判断,一行就可以。 2. [picker_group](https://github.com/weui/react-weui/blob/master/src/components/picker/picker_group.js#L93-L99) 这里代码不需要把数组循环完毕 3. city_picker是不需要考虑props改变的场景,定位很明确。但是picker作为一个覆盖面广的组件需要考虑到props改变的场景,这个场景需求很大。 4. 应当设置value和text,有些情况下,显示值与实际需要获取的值不一样,所以考虑组件广泛性应当在data结构中设置value和text,这样设计比较合理。 5. picker作为组件设计应当将picker独立考虑,我认为[city_picker](https://github.com/weui/react-weui/blob/master/src/components/picker/city_picker.js#L48)这里是组件外部text的选中值,组件里面应当有组件当前选中值,text既做外部传入值,组件应当初始化显示为text选中值,但是明显没有实现。 6. 组件没有初始化选中值,用户不滑动情况下直接选中这种场景是存在的。 -----吃完饭继续写----- 7. [city_picker](https://github.com/weui/react-weui/blob/master/src/components/picker/city_picker.js#L57-L83) 这里可以用循环去写更容易读懂 8. 接口写的不明确,有些属性接口中没有的,程序中直接用了。citypicker里面的lang属性是很需要的,但是没有。建议检查下接口与程序内部props属性一致问题。 9. group本来就是组的意思,强行加groups很不容易区分多组不级联选择器的区别,建议picker_group更名为picker_list,用list单指一列

suggest
in progress

```js NP.surplus(100, 3) // 100 % 3 ==> 1 ```

my environment is: ```shell //mac OS ➜ Repositories node -v v8.10.0 ➜ Repositories npm -v 5.6.0 ``` if u meet this error: ``` ERROR in ENOENT: no such file or...

Please take care of the developers in China. The documents on the [official website](https://date-fns.org/docs/Getting-Started) can't be opened in China. ![image](https://user-images.githubusercontent.com/14251481/107242733-43680b80-6a67-11eb-9998-049f798952c9.png)

Support

姐姐 四年前的项目了 node LTS 版本都到8了更新一下吧 environment * node 8.9.2 * OS macOS ```sh ➜ Repositories git clone https://github.com/LingyuCoder/SkyRTC-demo.git Cloning into 'SkyRTC-demo'... remote: Counting objects: 43, done. remote: Total 43 (delta...

i want to offline use iconify-icon package, my node version is 20 pnpm is 8. the problem: ```sh ➜ icon pnpm run build:dist > [email protected] build:dist /Users/zo/Desktop/icon > rollup -c...

Error Message: ```shell Can't resolve 'dommatrix/dist/dommatrix.js' in '.../node_modules/.pnpm/[email protected]/node_modules/pdfh5/js' ``` ```shell Module not found: Error: (an't resolve 'canvas' in '.../node_modules/.pnpm/[email protected]/node modules/pdfh5/js" ``` Solution: ```shell pnpm i [email protected] ```

hi, Our company is currently conducting security checks and has detected that the NPM package contains files such as ```.cache .idea``` As many projects use this package, we hope to...