Skip to content
This repository has been archived by the owner on Jul 21, 2024. It is now read-only.

Commit

Permalink
stop dumpHierarchy when not in liveScreen mode
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed Dec 4, 2019
1 parent 0cda8d0 commit b069357
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions weditor/static/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -652,10 +652,12 @@ window.vm = new Vue({
setTimeout(this.loadLiveHierarchy, 500)
return
}
this.dumpHierarchy()
.then((source) => {
if (this.liveScreen) {
this.dumpHierarchy()
.then(() => {
this.loadLiveHierarchy()
})
}
},
loadLiveScreen: function () {
var self = this;
Expand Down

0 comments on commit b069357

Please sign in to comment.