优化数组的_.$ups属性
parent
e8b9969f48
commit
ebb368ef50
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "anot",
|
||||
"version": "1.0.2",
|
||||
"version": "1.0.3",
|
||||
"description": "Anot - 迷你mvvm框架",
|
||||
"main": "dist/anot.js",
|
||||
"files": [
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in New Issue