Skip to content

Commit

Permalink
Update create.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dntzhang authored Oct 23, 2018
1 parent 5143cfd commit 88bed8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/westore-cloud/utils/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ function update(patch) {
}

function matchGlobalData(diffResult) {
if(!globalStore.globalData) return false
for (let keyA in diffResult) {
if (globalStore.globalData.indexOf(keyA) > -1) {
return true
Expand Down Expand Up @@ -408,4 +409,4 @@ function setProp(path, fn) {

function type(obj) {
return Object.prototype.toString.call(obj)
}
}

0 comments on commit 88bed8b

Please sign in to comment.