diff --git a/packages/uni-mp-weixin/lib/uni.config.js b/packages/uni-mp-weixin/lib/uni.config.js index bf79e12547059843aaede1727157aba2ac29d12e..562d4ccf4febe843cf3453b115b04a57a8e64b04 100644 --- a/packages/uni-mp-weixin/lib/uni.config.js +++ b/packages/uni-mp-weixin/lib/uni.config.js @@ -29,7 +29,8 @@ module.exports = { 'sitemap.json', 'ext.json', 'custom-tab-bar', - 'functional-pages' + 'functional-pages', + 'project.private.config.json' ] if (process.env.UNI_MP_PLUGIN) { diff --git a/packages/uni-template-compiler/__tests__/compiler-extra.spec.js b/packages/uni-template-compiler/__tests__/compiler-extra.spec.js index 8d201bc4ccf2df2d4b78706a3a31eac5341a4cc6..4dcb81d258f4e7bd46794c2f57a59f7669151013 100644 --- a/packages/uni-template-compiler/__tests__/compiler-extra.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-extra.spec.js @@ -274,6 +274,29 @@ describe('mp:compiler-extra', () => { ) }) + it('generate v-slot with v-if', () => { + assertCodegen( + '', + 'hello' + ) + assertCodegen( + '', + 'hello' + ) + assertCodegen( + '', + 'hello' + ) + assertCodegen( + '', + 'hello' + ) + assertCodegen( + '', + 'hello' + ) + }) + it('generate events inside v-for', () => { assertCodegen( '', diff --git a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js index 8e6ff3c3e21418b28b166e03d6bae00b49316d0f..14c71afe5709b0240c209b9bdfdc88bc0c2e2102 100644 --- a/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-mp-alipay.spec.js @@ -116,7 +116,7 @@ describe('mp:compiler-mp-alipay', () => { ) assertCodegen( '