diff --git a/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js b/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js index 16883c507a0ddd2719d24aa27a037733d778e5da..aa346c27edc92e6c7e9b059dbb6ee2f0b4693da8 100644 --- a/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js +++ b/src/platforms/mp-weixin/runtime/wrapper/app-base-parser.js @@ -95,7 +95,9 @@ export default function parseBaseApp (vm, { initRefs }) { initEventChannel() - initScopedSlotsParams() + if (__PLATFORM__ === 'mp-weixin' || __PLATFORM__ === 'mp-qq' || __PLATFORM__ === 'mp-toutiao' || __PLATFORM__ === 'mp-kuaishou' || __PLATFORM__ === 'mp-alipay' || __PLATFORM__ === 'mp-baidu') { + initScopedSlotsParams() + } if (vm.$options.store) { Vue.prototype.$store = vm.$options.store }