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