mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-15 09:13:09 +02:00
4f1981df03
* メニューからアカウントを作成できるようにした * i18n * Update signup.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
37 lines
633 B
Vue
37 lines
633 B
Vue
<template>
|
|
<x-window ref="window" @closed="() => { $emit('closed'); destroyDom(); }">
|
|
<template #header>{{ $t('signup') }}</template>
|
|
<x-signup :auto-set="autoSet" @signup="onSignup"/>
|
|
</x-window>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
import i18n from '../i18n';
|
|
import XWindow from './window.vue';
|
|
import XSignup from './signup.vue';
|
|
|
|
export default Vue.extend({
|
|
i18n,
|
|
|
|
components: {
|
|
XSignup,
|
|
XWindow,
|
|
},
|
|
|
|
props: {
|
|
autoSet: {
|
|
type: Boolean,
|
|
required: false,
|
|
default: false,
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
onSignup(res) {
|
|
this.$emit('signup', res);
|
|
this.$refs.window.close();
|
|
}
|
|
}
|
|
});
|
|
</script>
|