export() 怎么 return 一个function?

发布于 9 年前作者 weixiao5338 次浏览最后编辑 9 年前来自 issues

插件内组件

Component({
  behaviors: ['wx://component-export'],
  export() {
    return { myField: 'myValue' }
  }})

能return一个  methods  的方法么?

0 回复
暂无回复