The1111mp
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:  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:  renderCell:
@komodor8 I improved my method. It's much simpler.It did what I needed.  renderCell:   This this.state.item is used to save the tiem that is currently clicked.  ...
在 `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