The1111mp

Results 88 comments of The1111mp

@JQ-GMT 有解决办法吗

chooseHandle = (id) => { let newPeople = this.state.peoples; let index = newPeople.indexOf(id); if(index > -1){ newPeople.splice(index, 1); }else{ newPeople.push(id) } this.setState(()=>{ return { peoples: newPeople } }) } getChecked...

@rgovindji Please give your advice. Thanks

@komodor8 @rgovindji Hello, I think I found a solution.My English is not very good. I can only translate it through translator. Well, I solved the problem I mentioned above.It's a...

@komodor8 Do you have items and handleStatus in your component passed in AtoZList.js? like this: ![image](https://user-images.githubusercontent.com/31227919/47275130-3a757680-d5df-11e8-8c90-0026d073d037.png) Let me take my project as an example to explain: First, I need to...

@komodor8 I have improved my method and I hope it will work for you. AtoZList: ![image](https://user-images.githubusercontent.com/31227919/47276342-0010d700-d5e9-11e8-84b0-6437b07a96aa.png) renderCell:

@komodor8 I improved my method. It's much simpler.It did what I needed. ![image](https://user-images.githubusercontent.com/31227919/47276450-9e04a180-d5e9-11e8-94af-40e5c6cff0e2.png) renderCell: ![image](https://user-images.githubusercontent.com/31227919/47276456-ac52bd80-d5e9-11e8-9fd7-76f183618b0c.png) ![image](https://user-images.githubusercontent.com/31227919/47276459-af4dae00-d5e9-11e8-831d-b976c766556b.png) This this.state.item is used to save the tiem that is currently clicked. ![image](https://user-images.githubusercontent.com/31227919/47276491-d906d500-d5e9-11e8-8cbf-08f61041c7bf.png) ![image](https://user-images.githubusercontent.com/31227919/47276500-e328d380-d5e9-11e8-8db3-61eb15910402.png)...

在 `nvm-desktop` 设计之初就是想让每个`node`之间都相互隔离、互不影响的,就跟自己本地新安装`node`一样。 不过应该有一个办法能够暂时解决这个问题,就是通过 `npm config set prefix "/path/to/folder"` 更改全局安装包的位置,这样切换 `node` 版本之后也能共用,就不需要再重新安装了。不过需要注意的是需要将 `"/path/to/folder"` 目录添加到系统环境变量(保证其优先级),具体可以参考:(https://github.com/1111mp/nvm-desktop/issues/23)

你看这里能帮助到你吗 https://github.com/1111mp/nvm-desktop/issues/69

请确认如果更改了全局安装包的路径 那么需要将其添加到系统环境变量里面去 可参考:https://github.com/1111mp/nvm-desktop/issues/23