Skip to content

Commit 6f17ea4

Browse files
committedJul 24, 2019
fix(wx-react): 修复array元素不复用的bug
1 parent 9652e5d commit 6f17ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/wx-react/miniprogram_dist/render.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default function render(vnode, parentInst, parentContext, data, oldData,
201201

202202
const subData = {
203203
key: subKey,
204-
// diuu: subVnode.diuu
204+
diuu: subVnode.diuu // 用来判断复用逻辑
205205
}
206206
data[datakey].push(subData)
207207

0 commit comments

Comments
 (0)
Please sign in to comment.