From 9ec88b92e06f7e05f73d131dbacb19214a0c4310 Mon Sep 17 00:00:00 2001 From: jaceechan Date: Fri, 28 Feb 2020 17:49:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=BC=BA=E5=BE=AE=E4=BF=A1=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8FComponent=E6=9E=84=E9=80=A0=E5=99=A8=E4=B8=AD?= =?UTF-8?q?options=E7=9A=84=E9=85=8D=E7=BD=AE=EF=BC=8C=E8=AE=A9=E5=85=B6?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=9B=B4=E5=A4=9Aoptions=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E5=A6=82styleIsolation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mp-weixin/runtime/wrapper/component-base-parser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/mp-weixin/runtime/wrapper/component-base-parser.js b/src/platforms/mp-weixin/runtime/wrapper/component-base-parser.js index 6e0668d72..054e876bb 100644 --- a/src/platforms/mp-weixin/runtime/wrapper/component-base-parser.js +++ b/src/platforms/mp-weixin/runtime/wrapper/component-base-parser.js @@ -20,11 +20,11 @@ export default function parseBaseComponent (vueComponentOptions, { initRelation } = {}) { let [VueComponent, vueOptions] = initVueComponent(Vue, vueComponentOptions) - + const _options = vueOptions.otpions || {} const options = { multipleSlots: true, addGlobalClass: true, - ...vueOptions.options + ..._options } if (__PLATFORM__ === 'mp-weixin' || __PLATFORM__ === 'mp-qq') { -- GitLab