From e122462b1ee042d893d8c817c3c068e8ca93ed85 Mon Sep 17 00:00:00 2001 From: yutent Date: Sun, 12 Mar 2023 23:04:50 +0800 Subject: [PATCH] update --- src/constants.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/constants.js b/src/constants.js index ccfa6cd..c345578 100644 --- a/src/constants.js +++ b/src/constants.js @@ -4,7 +4,7 @@ * @date 2023/03/06 12:08:35 */ -const boolMap = {} +const boolMap = Object.create(null) ;[ 'autofocus', @@ -44,10 +44,7 @@ export const __props__ = Symbol('props') export const __changed_props__ = Symbol('changed_props') export const __mounted__ = Symbol('mounted') -export const RESET_CSS_STYLE = ` - * {box-sizing: border-box;margin: 0;padding: 0;} - ::before,::after {box-sizing: border-box;} -` +export const RESET_CSS_STYLE = `* {box-sizing: border-box;margin: 0;padding: 0;}::before,::after {box-sizing: border-box;}` export const DEFAULT_CONVERTER = { toAttribute(value, type) {