From 74d68d1b3c54433c173c62f66edc7364e1b783cb Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 22 May 2020 11:22:03 +0800 Subject: [PATCH] fix(cli): ignore id,class,style,inline-template (bool-attr) --- .../uni-template-compiler/__tests__/compiler-extra.spec.js | 4 ++-- packages/uni-template-compiler/lib/bool-attr.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/uni-template-compiler/__tests__/compiler-extra.spec.js b/packages/uni-template-compiler/__tests__/compiler-extra.spec.js index 410e0d923e..f4dcc6e8ce 100644 --- a/packages/uni-template-compiler/__tests__/compiler-extra.spec.js +++ b/packages/uni-template-compiler/__tests__/compiler-extra.spec.js @@ -649,8 +649,8 @@ describe('mp:compiler-extra', () => { }) it('generate bool attr', () => { assertCodegen( - '