Gavin.Wyf
Gavin.Wyf
2.8.4 not work. [email protected] [email protected]
好在 2018年2月28日,下午5:50,胖木 写道:f At 2018-02-28 17:43:10, "不一样的doger" wrote: thx — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub,...
场景:添加放置的节点,是根据接口数据,动态配置的。 现状:validateNode只能判断是否被添加,无法直接动态替换放置节点,后面全量覆盖添加节点会导致添加非常卡。
> > 添加放置的节点,是根据接口数据,动态配置的。 > > 还不太理解这个场景,有更具体的视觉稿之类的吗? 这个跟视觉稿没关系啊,就是支持一下异步函数,让用户可以使用异步节点。我来提个PR吧。
是的,拖拽后的自定义节点内的数据全部是动态生成异步返回的。 我现在就是在validateNode里面操作的,先临时解决一下,后面有空再优化。
不错,要是能贴一些源码讲解一下就更好了
我也遇到了,怎么解决呢。 ··· ⠙ [19/76] Installing eslint@^3.19.0[npminstall:get] retry GET https://registry.npm.taobao.org/babel-plugin-istanbul after 100ms, retry left 4, error: SyntaxError: Unexpected token < in JSON at position 0 [npminstall:get] retry GET https://registry.npm.taobao.org/babel-loader after 100ms,...
> Is there any way to simple use `vuex-class` to run actions ? > > ### And using less code, like this: > ```js > import { Vue, Component }...
期待未来的新特性!已入坑。
正在调研微服务解决方案,价值观上很有启发,感谢!