diff --git a/_server/css/editor.css b/_server/css/editor.css index 02b25b10..4021a028 100644 --- a/_server/css/editor.css +++ b/_server/css/editor.css @@ -68,7 +68,6 @@ body{ margin-right: 20px; margin-top: 5px; } - #mid{ position: absolute; left: 448px; diff --git a/_server/vm.js b/_server/vm.js index 4c1644bf..942e5157 100644 --- a/_server/vm.js +++ b/_server/vm.js @@ -1,23 +1,12 @@ // vue 相关处理 -document.body.onmousedown = function(e){ - selectBox.isSelected = false; - editor.info = {}; -} -iconLib.onmousedown = function(e){ - e.stopPropagation(); -} var exportM = new Vue({ el: '#exportM', methods: { exportMap: function(){ editor.updateMap(); - if(editArea.error) { - tip.whichShow = 3; - - return; - } + var filestr=''; for (var yy = 0; yy < 13; yy++){ filestr+='[' @@ -42,7 +31,8 @@ var exportM = new Vue({ filestr += ']'+(yy==12?'':',\n'); } pout.value = filestr; - + editArea.mapArr = filestr; + editArea.error = 0; tip.whichShow = 2; } } diff --git a/drawMapGUI.html b/drawMapGUI.html index bddabf11..b34e30fb 100644 --- a/drawMapGUI.html +++ b/drawMapGUI.html @@ -77,31 +77,33 @@ + - - + + + -