From ebb368ef507fb92a5eb031fcb95105b48e9e950a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 17 Aug 2018 02:24:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=95=B0=E7=BB=84=E7=9A=84?= =?UTF-8?q?=5F.$ups=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/28-:for.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 {