From 438edab64edea3dd7008b1ebe4ee4cb7e3688625 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Wed, 11 Mar 2020 11:50:20 +0800 Subject: [PATCH] fix(app-nvue): v-slot --- .../packages/weex-template-compiler/build.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/vue-cli-plugin-hbuilderx/packages/weex-template-compiler/build.js b/packages/vue-cli-plugin-hbuilderx/packages/weex-template-compiler/build.js index 23292e6b72..194440a955 100644 --- a/packages/vue-cli-plugin-hbuilderx/packages/weex-template-compiler/build.js +++ b/packages/vue-cli-plugin-hbuilderx/packages/weex-template-compiler/build.js @@ -1490,6 +1490,7 @@ function parse ( { attrs.forEach(function (attr) { if( + attr.name.indexOf('v-slot') !== 0 && // fixed by xxxxxx 忽略 v-slot attr.value === '' && (attr.start + attr.name.length) === attr.end ){ -- GitLab