我想定义一个自己的实例构造函数,比如 defineComponent ,自定义配置字段(加入一些功能),最终整理为原生配置(return component(opt))。
function defineComponent(options){
//options转换为原生配置类型
return component(options)
}
defineComponent({
customData:{
aaa:123
},
//.....
})
这样的插件能否通过审核?可以的话 提交的类别应该是什么??
你好,根据目前提供的信息,暂无法判断实际提供的服务内容,无法给出建议,建议补充提供服务demo图,以供进一步评估
涉小程序插件功能介绍:
https://developers.weixin.qq.com/miniprogram/introduction/plugin.html
涉小程序类目资质、适用范围参考:
https://developers.weixin.qq.com/miniprogram/product/material/