FfQrCode -> MkQrCode
This commit is contained in:
parent
7d69a2ab9f
commit
3cf7f0543d
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
|
||||
}>();
|
|
@ -9,7 +9,7 @@ import MkPostFormDialog from "@/components/MkPostFormDialog.vue";
|
|||
import MkWaitingDialog from "@/components/MkWaitingDialog.vue";
|
||||
import MkToast from "@/components/MkToast.vue";
|
||||
import MkDialog from "@/components/MkDialog.vue";
|
||||
import FfQrCode from "@/components/FfQrCode.vue";
|
||||
import MkQrCode from "@/components/MkQrCode.vue";
|
||||
import { MenuItem } from "@/types/menu";
|
||||
import { $i } from "@/account";
|
||||
import { i18n } from "./i18n";
|
||||
|
@ -930,7 +930,7 @@ export function post(props: Record<string, any> = {}) {
|
|||
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