mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-24 04:59:06 +01:00
54 lines
765 B
Vue
54 lines
765 B
Vue
<template>
|
|
<div>
|
|
{{ $ts.processing }}
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import * as os from '@/os';
|
|
import * as symbols from '@/symbols';
|
|
import { login } from '@/account';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
|
|
},
|
|
|
|
props: {
|
|
code: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: {
|
|
title: this.$ts.signup,
|
|
icon: 'fas fa-user'
|
|
},
|
|
}
|
|
},
|
|
|
|
async mounted() {
|
|
await os.alert({
|
|
type: 'info',
|
|
text: this.$t('clickToFinishEmailVerification', { ok: this.$ts.gotIt }),
|
|
});
|
|
const res = await os.apiWithDialog('signup-pending', {
|
|
code: this.code,
|
|
});
|
|
login(res.i, '/');
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|