code: function render(id, properties) {
    if (!id) throw new Error('you need to pass the componentId')
  
    const cache = componentMap[id]
  
    if (cache) {
      // 注入 wxss
      wxss.insert(cache.wxss, id)
    }
  
    return jComponent.create(id, properties)
  }
docs: 渲染自定义组件