fix
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
|
||||
<!-- Таблица -->
|
||||
<div class="flex flex-col col-span-2 md:col-span-1">
|
||||
<label class="text-xs text-gray-500">Таблица</label>
|
||||
<label class="text-xs text-gray-500">Таблица SQL</label>
|
||||
<input
|
||||
type="text"
|
||||
v-model="tableName"
|
||||
@@ -205,7 +205,7 @@
|
||||
</div>
|
||||
|
||||
<!-- Вкладки -->
|
||||
<div class="card overflow-hidden">
|
||||
<div class="card overflow-hidden p-2">
|
||||
<div class="flex border-b border-gray-200">
|
||||
<button @click="activeTab='table'"
|
||||
class="px-3 py-1.5 text-sm font-medium transition-colors"
|
||||
@@ -218,7 +218,7 @@
|
||||
SQL скрипт
|
||||
</button>
|
||||
</div>
|
||||
<div class="p-3">
|
||||
<div class="p-2">
|
||||
<div v-if="activeTab==='table'">
|
||||
<!-- Фильтры -->
|
||||
<div class="mb-3"
|
||||
@@ -350,10 +350,10 @@
|
||||
|
||||
<div v-if="activeTab==='sql'">
|
||||
<div class="flex justify-between items-center mb-2">
|
||||
<h3 class="font-bold text-gray-800 text-sm">Скрипт для ClickHouse</h3>
|
||||
<h3 class="font-bold text-gray-800 text-sm">Скрипт SQL</h3>
|
||||
<button @click="copySQL" class="btn-secondary text-xs py-1 px-2">Копировать SQL</button>
|
||||
</div>
|
||||
<div class="bg-gray-900 text-gray-200 p-3 rounded-lg overflow-x-auto font-mono text-xs whitespace-pre-wrap">
|
||||
<div class="bg-gray-900 text-gray-200 p-2 rounded-lg overflow-x-auto font-mono text-xs whitespace-pre-wrap">
|
||||
<pre>{{ sqlScript }}</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user