diff --git a/src/components/ControlPanelDialog.vue b/src/components/ControlPanelDialog.vue index 2b37e8d..31702a2 100644 --- a/src/components/ControlPanelDialog.vue +++ b/src/components/ControlPanelDialog.vue @@ -8,7 +8,20 @@ if (!loading && evt.keyCode == 27) { show_dialog = false; } + if(evt.keyCode == 37){//左 + sub_x(); + } + if(evt.keyCode==38){//上 + add_y(); + } + if(evt.keyCode==39){//右 + add_x(); + } + if(evt.keyCode==40){//下 + sub_y(); + } } + " > @@ -434,7 +447,24 @@ diff --git a/src/pages/TopToolBar.vue b/src/pages/TopToolBar.vue index fb9c120..0d68072 100644 --- a/src/pages/TopToolBar.vue +++ b/src/pages/TopToolBar.vue @@ -309,10 +309,6 @@ {{ $t("grid setting") }} - - - -