From 7e0157880b45000f4118b46d94bff32a13cf0f11 Mon Sep 17 00:00:00 2001 From: sora-ext Date: Mon, 10 Mar 2025 17:29:33 +0100 Subject: [PATCH] Update src/template/module/view/toast.pug --- src/template/module/view/toast.pug | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/template/module/view/toast.pug b/src/template/module/view/toast.pug index 924d405..969c846 100644 --- a/src/template/module/view/toast.pug +++ b/src/template/module/view/toast.pug @@ -1,14 +1,14 @@ template - .overlay.text-dark(v-if="toast.show" @click="") + .overlay.text-dark(v-if="toast.data.show" @click="") .popup.bg-white(@click.stop) .row - .col-auto.text-huge {{ toast.title }} - .row(v-if="toast.desc") - .col-auto.text-medium {{ toast.desc }} - .row(v-if="toast.special") + .col-auto.text-huge {{ toast.data.title }} + .row(v-if="toast.data.desc") + .col-auto.text-medium {{ toast.data.desc }} + .row(v-if="toast.data.special") .col-auto.text-medium .input - input(v-model="toast.special") + input(v-model="toast.data.special") .row.align - button.button.bg-white(@click="toast.func" v-if="toast.acceptText") {{ toast.acceptText }} - button.button.bg-white(@click="toast.show=false;" v-if="toast.cancelText") {{ toast.cancelText }} \ No newline at end of file + button.button.bg-white(@click="toast.data.func" v-if="toast.data.acceptText") {{ toast.data.acceptText }} + button.button.bg-white(@click="toast.data.show=false;" v-if="toast.data.cancelText") {{ toast.data.cancelText }} \ No newline at end of file