37 lines
619 B
Vue
37 lines
619 B
Vue
<template>
|
|
<x-window :width="366" :height="506" @close="$emit('done')">
|
|
<template #header>{{ $t('signup') }}</template>
|
|
<x-signup :auto-set="autoSet" @signup="onSignup"/>
|
|
</x-window>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import XWindow from './window.vue';
|
|
import XSignup from './signup.vue';
|
|
import * as os from '@/os';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
XSignup,
|
|
XWindow,
|
|
},
|
|
|
|
props: {
|
|
autoSet: {
|
|
type: Boolean,
|
|
required: false,
|
|
default: false,
|
|
}
|
|
},
|
|
|
|
emits: ['done'],
|
|
|
|
methods: {
|
|
onSignup(res) {
|
|
this.$emit('done', res);
|
|
}
|
|
}
|
|
});
|
|
</script>
|