mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 21:24:14 +02:00
enhance(frontend): 非同期的なコンポーネントの読み込み時のハンドリングを強化
This commit is contained in:
@@ -174,10 +174,10 @@ function rename() {
|
||||
});
|
||||
}
|
||||
|
||||
function describe() {
|
||||
async function describe() {
|
||||
if (!file.value) return;
|
||||
|
||||
const { dispose } = os.popup(defineAsyncComponent(() => import('@/components/MkFileCaptionEditWindow.vue')), {
|
||||
const { dispose } = await os.popupAsyncWithDialog(import('@/components/MkFileCaptionEditWindow.vue').then(x => x.default), {
|
||||
default: file.value.comment ?? '',
|
||||
file: file.value,
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user