[Client] Improve alert component

This commit is contained in:
syuilo 2018-11-14 16:30:58 +09:00
parent 850396e9da
commit 11afa8140c
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
31 changed files with 268 additions and 672 deletions

View file

@ -25,12 +25,9 @@ export default Vue.extend({
type: 'password'
}).then(newPassword2 => {
if (newPassword !== newPassword2) {
this.$dialog({
this.$root.alert({
title: null,
text: this.$t('not-match'),
actions: [{
text: 'OK'
}]
text: this.$t('not-match')
});
return;
}