From d475ee2999a1fd43c03518100bd55b0929acc5d9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 24 Jul 2019 15:41:54 +0400 Subject: =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=20?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9=20=D1=82=D0=B8=D0=BF=20=D0=B2?= =?UTF-8?q?=D1=81=D0=BF=D0=BB=D1=8B=D0=B2=D0=B0=D1=8E=D1=89=D0=B8=D1=85=20?= =?UTF-8?q?=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B9.=20?= =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?=D0=B3=D0=B5=D0=BD=D0=B5=D1=80=D0=B0=D1=86=D0=B8=D1=8F=20UPDATE?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=BE=D0=B2=20=D0=B2=20?= =?UTF-8?q?mysql=20=D0=BE=D0=B1=D0=B5=D1=80=D1=82=D0=BA=D0=B5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- day9/task5_vue/src/App.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'day9/task5_vue/src/App.vue') diff --git a/day9/task5_vue/src/App.vue b/day9/task5_vue/src/App.vue index 42ba3b1..9322db3 100644 --- a/day9/task5_vue/src/App.vue +++ b/day9/task5_vue/src/App.vue @@ -7,12 +7,12 @@ @show-popup="showPopup($event)" v-if="isFormShown" /> - +
- + @@ -39,7 +39,7 @@ isFormShown: false, isPopupShown: false, - popupMessage: '', + popupData: null, } }, @@ -61,14 +61,14 @@ }) }, - showPopup(message) { + showPopup(data) { if (!this.isPopupShown) { this.isPopupShown = true; - this.popupMessage = message; + this.popupData = data; setTimeout(() => { this.isPopupShown = false; - this.popupMessage = ''; + this.popupData = null; }, 2000) } }, -- cgit v1.2.3