1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

refactor: vue3 migration in progress

This commit is contained in:
2022-04-21 14:39:24 +02:00
parent 9a0f982723
commit 443170bbb1
61 changed files with 607 additions and 563 deletions

View File

@ -3,18 +3,18 @@
v-show="isSelected"
class="workspace-query-tab column col-12 columns col-gapless no-outline p-0"
tabindex="0"
@keydown.116="runQuery(query)"
@keydown.75="killTabQuery"
@keydown.ctrl.alt.87="clear"
@keydown.ctrl.66="beautify"
@keydown.ctrl.71="openHistoryModal"
@keydown.f5="runQuery(query)"
@keydown.k="killTabQuery"
@keydown.ctrl.alt.w="clear"
@keydown.ctrl.b="beautify"
@keydown.ctrl.g="openHistoryModal"
>
<div class="workspace-query-runner column col-12">
<QueryEditor
v-show="isSelected"
ref="queryEditor"
v-model="query"
:auto-focus="true"
:value.sync="query"
:workspace="workspace"
:schema="breadcrumbsSchema"
:is-selected="isSelected"
@ -296,7 +296,7 @@ export default {
if (this.tab.autorun)
this.runQuery(this.query);
},
beforeDestroy () {
beforeUnmount () {
window.removeEventListener('keydown', this.onKey);
const params = {
uid: this.connection.uid,