fix: render MkToast with Mfm

This commit is contained in:
ThatOneCalculator 2023-01-12 22:12:31 -08:00
parent 66d9bd0c64
commit 60e9acba76
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -2,9 +2,7 @@
<div class="mk-toast"> <div class="mk-toast">
<transition :name="$store.state.animation ? 'toast' : ''" appear @after-leave="emit('closed')"> <transition :name="$store.state.animation ? 'toast' : ''" appear @after-leave="emit('closed')">
<div v-if="showing" class="body _acrylic" :style="{ zIndex }"> <div v-if="showing" class="body _acrylic" :style="{ zIndex }">
<div class="message"> <Mfm class="message" :text="message"/>
{{ message }}
</div>
</div> </div>
</transition> </transition>
</div> </div>