Skip to content

Commit af88676

Browse files
committed
update: code format
1 parent 54f4331 commit af88676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/platforms/mp/runtime/diff-data.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function getDeepData (keyList, viewData) {
1919
}
2020
}
2121

22-
function compareAndSetDeepData (key, newData, vm, data,forceUpdate) {
22+
function compareAndSetDeepData (key, newData, vm, data, forceUpdate) {
2323
// 比较引用类型数据
2424
try {
2525
const keyList = key.split('.')
@@ -45,7 +45,7 @@ function minifyDeepData (rootKey, originKey, vmData, data, _mpValueSet, vm) {
4545
try {
4646
if (vmData instanceof Array) {
4747
// 数组
48-
compareAndSetDeepData(rootKey + '.' + originKey, vmData, vm, data,true)
48+
compareAndSetDeepData(rootKey + '.' + originKey, vmData, vm, data, true)
4949
} else {
5050
// Object
5151
let __keyPathOnThis = {} // 存储这层对象的keyPath

0 commit comments

Comments
 (0)