l
This commit is contained in:
1 parent
67224546d4
commit
657b089134
2 files changed
+14
-9
No files matched your search
@@ -250,8 +250,9 @@
|
|||||||
|
|
||||||
<v-main v-if="accountStore.cod2user" class="d-flex bg-main_theme">
|
<v-main v-if="accountStore.cod2user" class="d-flex bg-main_theme">
|
||||||
<router-view />
|
<router-view />
|
||||||
|
<v-expand-x-transition>
|
||||||
<alert-default />
|
<alert-default />
|
||||||
|
</v-expand-x-transition>
|
||||||
|
|
||||||
</v-main>
|
</v-main>
|
||||||
<v-main v-else class="d-flex align-center text-h3 bg-teal-lighten-2">
|
<v-main v-else class="d-flex align-center text-h3 bg-teal-lighten-2">
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<v-alert
|
<v-alert
|
||||||
color="#C51162"
|
color="#C51162"
|
||||||
:icon=feedalert.ico
|
:icon=feedalert.ico
|
||||||
theme="dark"
|
theme="dark"
|
||||||
|
max-height="40"
|
||||||
width = "500"
|
width = "500"
|
||||||
position="fixed"
|
position="fixed"
|
||||||
location = "bottom"
|
location = "bottom"
|
||||||
@@ -15,6 +15,7 @@
|
|||||||
density="compact"
|
density="compact"
|
||||||
>
|
>
|
||||||
</v-alert>
|
</v-alert>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -26,15 +27,18 @@ export default {
|
|||||||
|
|
||||||
const feedalert = useAlertStore().alert
|
const feedalert = useAlertStore().alert
|
||||||
|
|
||||||
watch(()=>feedalert ,(newValue,oldValue)=>{
|
watch(()=>feedalert ,()=>{
|
||||||
console.log(feedalert, 'dsfsdfsdf')
|
|
||||||
|
setTimeout(function() {
|
||||||
|
|
||||||
|
feedalert.text=""
|
||||||
|
feedalert.ico=""
|
||||||
|
feedalert.alert = false
|
||||||
|
}, 3000)
|
||||||
|
|
||||||
}, {deep:true})
|
}, {deep:true})
|
||||||
|
|
||||||
setTimeout(function() {
|
|
||||||
feedalert.alert = false
|
|
||||||
feedalert.text=""
|
|
||||||
}, 5000);
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
feedalert
|
feedalert
|
||||||
|
|||||||
Reference in new issue
Block a user