Merge pull request #35 from i2Echo/master

fix bug
This commit is contained in:
Zhang Chen 2018-01-11 20:06:22 +08:00 committed by GitHub
commit 5a1805486a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,6 +58,7 @@ var editArea = new Vue({
that.error = 0; that.error = 0;
clearTimeout(that.formatTimer); clearTimeout(that.formatTimer);
setTimeout(function(){ setTimeout(function(){
that.mapArr = that.formatArr();
that.drawMap(); that.drawMap();
tip.whichShow = 8 tip.whichShow = 8
}, 1000); }, 1000);
@ -118,7 +119,6 @@ var editArea = new Vue({
} }
formatArrStr += ']'+(i==12?'':',\n'); formatArrStr += ']'+(i==12?'':',\n');
} }
return formatArrStr; return formatArrStr;
} }
} }