色々な修正; Fix #4709 (#4714)

* Fix a la carte 1

* use dialog instead of alert() etc
This commit is contained in:
tamaina
2019-04-16 13:05:10 +09:00
committed by syuilo
parent ba3879a95a
commit f966d0b32c
21 changed files with 79 additions and 29 deletions

View File

@ -153,7 +153,10 @@ export default Vue.extend({
location.href = '/';
});
}).catch(() => {
alert(this.$t('some-error'));
this.$root.dialog({
type: 'error',
text: this.$t('some-error')
});
if (this.meta.enableRecaptcha) {
(window as any).grecaptcha.reset();