fix components/form/suspense.vue

This commit is contained in:
naskya 2023-10-18 23:46:07 +00:00
parent 0a44d06522
commit 0b8b4ea48d

View file

@ -12,11 +12,11 @@
<div v-else> <div v-else>
<div class="wszdbhzo"> <div class="wszdbhzo">
<div> <div>
<i :class="icon('ph-warning')"></i> <i :class="iconClass('ph-warning')"></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="iconClass('ph-arrow-clockwise')"></i>
{{ i18n.ts.retry }}</MkButton {{ i18n.ts.retry }}</MkButton
> >
</div> </div>
@ -30,7 +30,7 @@ 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 iconClass from "@/scripts/icon";
export default defineComponent({ export default defineComponent({
components: { components: {
@ -91,7 +91,7 @@ export default defineComponent({
retry, retry,
i18n, i18n,
defaultStore, defaultStore,
icon, iconClass,
}; };
}, },
}); });