mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-22 10:38:04 +09:00
327f5d335e
* feat: アカウント作成にメールアドレス必須にするオプション
* ui
* fix bug
* fix bug
* fix bug
* 🎨
51 lines
661 B
Vue
51 lines
661 B
Vue
<template>
|
|
<div>
|
|
{{ $ts.processing }}
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue';
|
|
import * as os from '@client/os';
|
|
import * as symbols from '@client/symbols';
|
|
import { login } from '@client/account';
|
|
|
|
export default defineComponent({
|
|
components: {
|
|
|
|
},
|
|
|
|
props: {
|
|
code: {
|
|
type: String,
|
|
required: true
|
|
}
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
[symbols.PAGE_INFO]: {
|
|
title: this.$ts.signup,
|
|
icon: 'fas fa-user'
|
|
},
|
|
}
|
|
},
|
|
|
|
mounted() {
|
|
os.apiWithDialog('signup-pending', {
|
|
code: this.code,
|
|
}).then(res => {
|
|
login(res.i, '/');
|
|
});
|
|
},
|
|
|
|
methods: {
|
|
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
</style>
|