kanocence

Results 6 comments of kanocence

同样的问题 请问有预计发布时间吗 > 这个是一个已知问题,因为修改是一个 break change,所以暂时通过全局使用一个 getTeleport 来解决。下个版本会优化掉。

> 你可以使用filter让id为奇数的不可以拖动,或者拖动的时候onMove返回false 上面是一个简化的场景,实际使用的场景比较复杂,使用`put`来判断比较合理,请问`put`能实现吗

我现在的处理方式是: 1. A列表开始拖拽 2. 根据A列表 `on-start` 事件的 `evt.oldIndex` 从列表获取组件的数据 3. 传递获取组件的数据 4. 拖拽至 B列表时 `put` 函数判断是否允许 5. 拖拽至C列表,D列表等 使用不同的 `put` 函数判断 虽然也可以使用,但是我想如果能在 `put` 函数触发时可以获取到当前拖拽的组件数据就能简单一些,不需要再处理获取和传递了

> 临时性解法: 使用patch,修改源码解决的。npm和pnpm都有patch功能 > > ``` > }_nbind.addMethod = addMethod;function throwError(message) { > throw new Error(message); > - }_nbind.throwError = throwError;_nbind.bigEndian = false;_a = _typeModule(_typeModule), _nbind.Type = _a.Type, _nbind.makeType =...

> > > 临时性解法: 使用patch,修改源码解决的。npm和pnpm都有patch功能 > > > ``` > > > }_nbind.addMethod = addMethod;function throwError(message) { > > > throw new Error(message); > > > - }_nbind.throwError = throwError;_nbind.bigEndian...

Remember to upgrade vscode ಥ_ಥ ![Image](https://github.com/user-attachments/assets/3ce88e00-02cb-45e5-85a3-4c1e664f286b)