2020-01-30 04:37:25 +09:00
|
|
|
<template>
|
2020-02-15 01:33:09 +09:00
|
|
|
<x-window ref="window" @closed="() => { $emit('closed'); destroyDom(); }">
|
2020-01-30 04:37:25 +09:00
|
|
|
<template #header>{{ $t('signup') }}</template>
|
2020-02-15 01:33:09 +09:00
|
|
|
<x-signup :auto-set="autoSet" @signup="onSignup"/>
|
2020-01-30 04:37:25 +09:00
|
|
|
</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,
|
|
|
|
},
|
2020-02-15 01:33:09 +09:00
|
|
|
|
|
|
|
props: {
|
|
|
|
autoSet: {
|
|
|
|
type: Boolean,
|
|
|
|
required: false,
|
|
|
|
default: false,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
onSignup(res) {
|
|
|
|
this.$emit('signup', res);
|
|
|
|
this.$refs.window.close();
|
|
|
|
}
|
|
|
|
}
|
2020-01-30 04:37:25 +09:00
|
|
|
});
|
|
|
|
</script>
|