Skip to content

Commit 95c843d

Browse files
committed
Fix npe
1 parent 221a129 commit 95c843d

File tree

1 file changed

+2
-2
lines changed
  • src/app/components/option/components

1 file changed

+2
-2
lines changed

src/app/components/option/components/backup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ const _default = defineComponent({
147147
h(ElDivider),
148148
renderOptionItem({
149149
input: authInput(auth, handleChange, handleTest),
150-
info: tooltip(msg => msg.option.backup.meta[type.value].authInfo)
150+
info: tooltip(msg => msg.option.backup.meta[type.value]?.authInfo)
151151
},
152-
msg => msg.backup.meta[type.value].auth
152+
msg => msg.backup.meta[type.value]?.auth
153153
),
154154
h(ElDivider),
155155
renderOptionItem({

0 commit comments

Comments
 (0)