quick fix

This commit is contained in:
Pig Fang 2020-01-30 18:50:51 +08:00
parent ad528520ca
commit e6cb4072e5
3 changed files with 7 additions and 7 deletions

View File

@ -94,7 +94,7 @@ export default {
validator: truthy(this.$t('skinlib.emptyNewTextureName')),
},
))
} catch {
} catch (_) {
return
}

View File

@ -326,7 +326,7 @@ export default {
input: this.name,
validator: truthy(this.$t('skinlib.emptyNewTextureName')),
}))
} catch {
} catch (_) {
return
}
@ -360,7 +360,7 @@ export default {
? this.$t('skinlib.setPrivateNotice')
: this.$t('skinlib.setPublicNotice'),
})
} catch {
} catch (_) {
return
}
@ -381,7 +381,7 @@ export default {
text: this.$t('skinlib.deleteNotice'),
okButtonType: 'danger',
})
} catch {
} catch (_) {
return
}
@ -413,7 +413,7 @@ export default {
text: prompt,
placeholder: this.$t('skinlib.report.reason'),
}))
} catch {
} catch (_) {
return
}

View File

@ -208,7 +208,7 @@ export default {
input: player.name,
validator: truthy(this.$t('user.emptyPlayerName')),
}))
} catch {
} catch (_) {
return
}
@ -250,7 +250,7 @@ export default {
text: this.$t('user.deletePlayerNotice'),
okButtonType: 'danger',
})
} catch {
} catch (_) {
return
}