This commit is contained in:
2019-11-06 23:34:06 +00:00
parent d8c0d73597
commit bcb2b7f0c7
2 changed files with 7 additions and 8 deletions

View File

@@ -67,7 +67,7 @@ TODO:
// debugger;
// eslint-disable-next-line no-console
//console.log(msg);
vm.$root.$gznotify(msg, { color: "info" });
vm.$root.$gznotify(msg, { color: "info", timeout: 10000 });
// if (vm.$root.$gznoitfy(msg, "Are you sure?", { color: "red" })) {
// alert("YES");
// } else {

View File

@@ -17,14 +17,13 @@
</v-card-actions>
</v-card>
</v-dialog> -->
<v-snackbar v-model="snackbar">
<v-snackbar
:color="options.color"
:value="snackbar"
:timeout="options.timeout"
>
{{ message }}
<v-btn
:color="options.color"
:timeout="options.timeout"
text
@click="snackbar = false"
>
<v-btn text @click="snackbar = false">
Close
</v-btn>
</v-snackbar>