forked from mirrors/misskey
enhance(frontend): 非同期的なコンポーネントの読み込み時のハンドリングを強化
This commit is contained in:
@@ -117,7 +117,7 @@ async function registerTOTP(): Promise<void> {
|
||||
token: auth.result.token,
|
||||
});
|
||||
|
||||
const { dispose } = os.popup(defineAsyncComponent(() => import('./2fa.qrdialog.vue')), {
|
||||
const { dispose } = await os.popupAsyncWithDialog(import('./2fa.qrdialog.vue').then(x => x.default), {
|
||||
twoFactorData,
|
||||
}, {
|
||||
closed: () => dispose(),
|
||||
|
||||
Reference in New Issue
Block a user