FfQrCode -> MkQrCode
This commit is contained in:
parent
bb984a8608
commit
fefed2d4a4
2 changed files with 2 additions and 4 deletions
|
@ -20,8 +20,6 @@ import MkButton from "@/components/MkButton.vue";
|
|||
import { i18n } from "@/i18n";
|
||||
import QRCodeVue3 from "qrcode-vue3";
|
||||
|
||||
// const profileUrl = window.location.href;
|
||||
|
||||
const props = defineProps<{
|
||||
qrCode: string
|
||||
}>();
|
|
@ -7,7 +7,7 @@ import type { Component, MaybeRef, Ref } from "vue";
|
|||
import { defineAsyncComponent, markRaw, ref } from "vue";
|
||||
import { i18n } from "./i18n";
|
||||
import MkDialog from "@/components/MkDialog.vue";
|
||||
import FfQrCode from "@/components/FfQrCode.vue";
|
||||
import MkQrCode from "@/components/MkQrCode.vue";
|
||||
import MkPostFormDialog from "@/components/MkPostFormDialog.vue";
|
||||
import MkToast from "@/components/MkToast.vue";
|
||||
import MkWaitingDialog from "@/components/MkWaitingDialog.vue";
|
||||
|
@ -1007,7 +1007,7 @@ export function post(
|
|||
export async function displayQrCode(qrCode: string) {
|
||||
(await new Promise<(() => void) | undefined>((resolve) => {
|
||||
let dispose: (() => void) | undefined;
|
||||
popup(FfQrCode, { qrCode }, {
|
||||
popup(MkQrCode, { qrCode }, {
|
||||
closed: () => {
|
||||
resolve(dispose);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue