提交 d6c8bc38 编写于 作者: Q qiang

Merge branch 'master' of git://github.com/jaceechan/uni-app into dev

......@@ -20,13 +20,14 @@ export default function parseBaseComponent (vueComponentOptions, {
initRelation
} = {}) {
let [VueComponent, vueOptions] = initVueComponent(Vue, vueComponentOptions)
const options = {
multipleSlots: true,
addGlobalClass: true
addGlobalClass: true,
...(vueOptions.options || {})
}
if (__PLATFORM__ === 'mp-weixin' || __PLATFORM__ === 'mp-qq') {
if (__PLATFORM__ === 'mp-weixin' || __PLATFORM__ === 'mp-qq') {
// 微信 multipleSlots 部分情况有 bug,导致内容顺序错乱 如 u-list,提供覆盖选项
if (vueOptions['mp-weixin'] && vueOptions['mp-weixin']['options']) {
Object.assign(options, vueOptions['mp-weixin']['options'])
......@@ -109,4 +110,4 @@ export default function parseBaseComponent (vueComponentOptions, {
return componentOptions
}
return [componentOptions, VueComponent]
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册