diff --git a/package.json b/package.json index 2dbd591..0fbc7b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anot", - "version": "1.0.2", + "version": "1.0.3", "description": "Anot - 迷你mvvm框架", "main": "dist/anot.js", "files": [ diff --git a/src/28-:for.js b/src/28-:for.js index 5b38286..d2f6ab1 100644 --- a/src/28-:for.js +++ b/src/28-:for.js @@ -125,7 +125,7 @@ Anot.directive('for', { var valueItem = value[i] proxy[param] = valueItem //index if (Object(valueItem) === valueItem) { - valueItem.$ups = valueItem.$ups || {} + hideProperty(valueItem, '$ups', valueItem.$ups || {}) valueItem.$ups[param] = proxy } } else {