This repository has been archived on 2023-08-29. You can view files and clone it, but cannot push or open issues/pull-requests.
yutent
/
anot.js
Archived
1
0
Fork 0

优化数组的_.$ups属性

1.x
宇天 2018-08-17 02:24:30 +08:00
parent e8b9969f48
commit ebb368ef50
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "anot",
"version": "1.0.2",
"version": "1.0.3",
"description": "Anot - 迷你mvvm框架",
"main": "dist/anot.js",
"files": [

View File

@ -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 {