-
wepy 1.X版本,使用repeat对自定义组件进行循环渲染时,无法将父组件的data双向绑定到子组件上,即repeat不支持props,computed,key值等等,在控制台打印为undefined;而原生小程序的wx:for只支持原生组件。
解决方案是: 使用repeat将父组件的data动态绑定(:sync.item)到子组件上,在子组件上添加一个事件发射器(this.$emit())…
-
组件代码:
```
{{label}}
import wepy from 'wepy'
export default class InlineNumber extends wepy.component {
props = {
id: {
type: St…
-
如题。我是新手,这个问题我很想知道,因为没有问的地方,所有只能到这里来问。
-
-
你好,我想问一下你怎么在wepy中引用的saga,我引用saga后编写的函数都不会生效
-
redux4.0已经发布有一段时间了,也不再依赖lodash了。wepy-redux能否相应更新支持redux4.0呢?
感谢 @Gcaufy 对wepy项目的辛勤付出
-
提交ISSUE前请确保已认真阅读以下内容
*Please read the following information carefully before you open an issue.*
在提交issue之前必须确认以下问题:
*Please make sure you understand the following points:*
* 必须是一个bug或…
-
## Description
wepy2-cli注释或者删除`app.wpy`的`pages`的某一项,dist中还存在该项对应的生成文件。
## Environment
wepy2
## Reproduce
app.wpy
```
pages: [
'index/index.wpy',
...
]
```
注释或者删除`pages`的一项
…
-
## Description
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]
[Description of the issue]
希望通过mixin或es6的继承去继承一个基类页面,实现全局组件,子页面components属性已经继承或混合到但却无法正常显示组件
## Environment
* Platform: [开发者工具…
e8wow updated
5 years ago
-
找不到文件: xxxx/node_modules/weapp.engine.io/lib/transports/polling-xhr
module "npm/weapp.engine.io/lib/transports/index.js" is not defined
Error: module "npm/weapp.engine.io/lib/transports/index.js…