Alan.He

Results 89 comments of Alan.He

看来只能跳转到微信浏览器了,但是需要把这个链接带过去

对于渲染的很多组件,我们经常有这样的需求就是用户是XXX角色,才显示某个组件,或者用户是AAA或者BBB,才显示某个组件,这个判断逻辑基于的数据需要从redux中拿,我在想这些判断是不是可以提炼出去,做成组件。这个组件只是简单的控制需不需要显示子组件。从而将这段判断逻辑抽离成容器组件。

Alfred的snippet也类似,都是个好的option

> 先找出大于0的数,然后排序,最小值就是非负非零的最小值,楼上的这个也算一个方法 准确来说,第二把冒泡拿到最小的就行,不需要完整的排序,复杂度两者还是有点差距的。

```js function getIndex(arr) { let min = -1; return arr.reduce((res, item, idx) => { if (item > 0 && (idx === 0 || item < min)) { min = item;...

@jan-ign I have set, but error when i click test. I don't know why? ![image](https://user-images.githubusercontent.com/9245110/65978294-06b8f700-e4a6-11e9-9966-f2113ed2afc4.png) run shell is ok ![image](https://user-images.githubusercontent.com/9245110/65978318-120c2280-e4a6-11e9-8007-939a60ef45d7.png) ![image](https://user-images.githubusercontent.com/9245110/65978332-19cbc700-e4a6-11e9-978b-0ed0a1c6848d.png) ## View collection content not work ![image](https://user-images.githubusercontent.com/9245110/66011898-74414380-e4f7-11e9-9156-04ea9ac2bfa5.png)

> 哦不是,还真不好使了 ![image](https://user-images.githubusercontent.com/9245110/180018886-a1bb1b0c-dae2-4b6b-ae9f-80664327beae.png) zmodem.js 这里在多数浏览器比如Chrome下实际上只会在上传完成才会触发on_progress,因此不会得到实时的进度。

You can copy xml directly. location like this. ~/Library/Application Support/JetBrains/WebStorm2021.2/jba_config/templates copy xml and restart . it works.