From 05ed72c81176d17c40773c97f92d8999cbc29caa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80=20?= =?UTF-8?q?=22axel=5Fverse=22=20=D0=9C=D1=83=D0=B4=D1=80=D0=BE=D0=B2?= Date: Tue, 8 Sep 2026 23:45:27 +0300 Subject: [PATCH] =?UTF-8?q?FEAT:=20=D0=B2=D1=81=D0=BF=D0=BB=D1=8B=D0=B2?= =?UTF-8?q?=D0=B0=D1=8E=D1=89=D0=B5=D0=B5=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D1=80=D0=B8=20=D0=BA=D0=BE?= =?UTF-8?q?=D0=BF=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B8=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/configurationFormView.vue | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/src/components/configurationFormView.vue b/src/components/configurationFormView.vue index 1810f3c..e9560ad 100644 --- a/src/components/configurationFormView.vue +++ b/src/components/configurationFormView.vue @@ -10,6 +10,7 @@ const KB_UNIT_MAP = { } const route = useRoute() +const toast = useToast() const tab = ref('0') const tabs = ref([ @@ -121,12 +122,27 @@ const formatValue = (value) => { // return formatted return `${result.value}${result.unit}` } + +const onCopyConfig = () => { + copy(config) + toast.add({ + title: 'Скопировано', + description: 'Конфигурация скопирована успешно', + duration: 7500, + icon: 'lucide:copy', + }) +}