style: 对齐 AList 存储前端格式

This commit is contained in:
jxxghp
2026-08-09 14:53:13 +08:00
parent eabe8f6951
commit a98271f8a1
4 changed files with 12 additions and 8 deletions
+6 -5
View File
@@ -69,11 +69,12 @@ function openStorageDialog() {
}
const dialog = dialogMap[props.storage.type] || StorageCustomConfigDialog
const dialogProps = dialog === StorageCustomConfigDialog
? { storage: props.storage }
: dialog === AlistConfigDialog
? { conf: props.storage.config || {}, type: props.storage.type }
: { conf: props.storage.config || {} }
const dialogProps =
dialog === StorageCustomConfigDialog
? { storage: props.storage }
: dialog === AlistConfigDialog
? { conf: props.storage.config || {}, type: props.storage.type }
: { conf: props.storage.config || {} }
openSharedDialog(
dialog,