+1
-1
| { | ||
| "name": "sact", | ||
| "version": "0.1.7", | ||
| "version": "0.1.8", | ||
| "description": "this is a MVVM JavaScript framework that use Proxy to reactive data, like Vue3", | ||
@@ -5,0 +5,0 @@ "main": "./src/main.js", |
@@ -164,3 +164,3 @@ import Sact from "../sact.js" | ||
| //s-show 外层组件时的判断 | ||
| if (props.style) { | ||
| if (props && props.style) { | ||
| extend(cd.style = cd.style || {}, props.style) | ||
@@ -167,0 +167,0 @@ Reflect.deleteProperty(props, "style"); |
@@ -222,3 +222,3 @@ import { isArray, isObj, sactWarn } from "../tools/untils.js"; | ||
| if(cls[i]){ | ||
| res += i + " "; | ||
| res += String(i) + " "; | ||
| } | ||
@@ -232,2 +232,3 @@ } | ||
| } | ||
| return res; | ||
| } |
211186
0.02%5364
0.02%