Tidyzq
Tidyzq
能否提供一个复现的代码片段?https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
For instance, I set the `jsResources` as `var jsResources = ''`, when i click the "Try in JsFiddle" button, it will open a new tab with the url as `https://jsfiddle.net/api/post/library/pure/`....
首先感谢 PR!
小程序的 wxml 一直存在一个问题,就是他的 slot 不能够传递 slot props,从而达到类似 vue 中 slot-props 或 react 中 render function 的抽象效果。 在你这个 case 中,selected 是否选中这个状态其实是应该作为 slot props 传递给 slot 的,这里你选择了通过不同的 slot name 来区分,确实是一个思路。但是我在考虑,让开发者指定这么多的 slot name...
> @Tidyzq 目前单元测试跑不通,我看是 目前的 构建配置原因。并不是我修改的代码造成的。等这个测试能正常运行了。我补充一下测试用例。 这个问题应该是我之前修改了代码没有及时更新用例,我看下
能否提供一个复现示例? https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html
该问题已知,待修复
可以先在 logs.wxml 中通过在 src 后面加入一个 query 字符串来临时绕过 ```xml ``` 这里是由于 wxml 的特殊打包处理逻辑导致的,需要思考一下更合适的方案
基础库 2.17.1 之前的 generator 函数存在问题,建议尽量避免使用
当前不支持,以后会考虑