workaround for yet another import issue
This commit is contained in:
parent
7b72e823fb
commit
b7125966d0
1 changed files with 11 additions and 5 deletions
|
@ -1,8 +1,12 @@
|
||||||
<template>
|
<template>
|
||||||
|
<!--
|
||||||
|
FIXME: defaultStore and icon are undefined for some reason
|
||||||
<transition
|
<transition
|
||||||
:name="defaultStore.state.animation ? 'fade' : ''"
|
:name="defaultStore.state.animation ? 'fade' : ''"
|
||||||
mode="out-in"
|
mode="out-in"
|
||||||
>
|
>
|
||||||
|
-->
|
||||||
|
<transition name="" mode="out-in">
|
||||||
<div v-if="pending">
|
<div v-if="pending">
|
||||||
<MkLoading />
|
<MkLoading />
|
||||||
</div>
|
</div>
|
||||||
|
@ -12,11 +16,13 @@
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<div class="wszdbhzo">
|
<div class="wszdbhzo">
|
||||||
<div>
|
<div>
|
||||||
<i :class="icon('ph-warning')"></i>
|
<!-- <i :class="icon('ph-warning')"></i> -->
|
||||||
|
<i class="ph-warning ph-bold ph-lg"></i>
|
||||||
{{ i18n.ts.somethingHappened }}
|
{{ i18n.ts.somethingHappened }}
|
||||||
</div>
|
</div>
|
||||||
<MkButton inline class="retry" @click="retry"
|
<MkButton inline class="retry" @click="retry">
|
||||||
><i :class="icon('ph-arrow-clockwise')"></i>
|
<!-- <i :class="icon('ph-arrow-clockwise')"></i> -->
|
||||||
|
<i class="ph-arrow-clockwise ph-bold ph-lg"></i>
|
||||||
{{ i18n.ts.retry }}</MkButton
|
{{ i18n.ts.retry }}</MkButton
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -29,8 +35,8 @@ import type { PropType } from "vue";
|
||||||
import { defineComponent, ref, watch } from "vue";
|
import { defineComponent, ref, watch } from "vue";
|
||||||
import MkButton from "@/components/MkButton.vue";
|
import MkButton from "@/components/MkButton.vue";
|
||||||
import { i18n } from "@/i18n";
|
import { i18n } from "@/i18n";
|
||||||
import { defaultStore } from "@/store";
|
// import { defaultStore } from "@/store";
|
||||||
import icon from "@/scripts/icon";
|
// import icon from "@/scripts/icon";
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
components: {
|
components: {
|
||||||
|
|
Loading…
Reference in a new issue