feat: add RegisterResult component, ESLint config, and vue.config.js for project setup
- Created a new RegisterResult.vue component for displaying registration success. - Added ESLint configuration for unit tests in the tests directory. - Implemented vue.config.js for webpack configuration, including theme color support and proxy settings for development.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,26 @@
|
||||
<template>
|
||||
<div class="register-result">
|
||||
<a-result
|
||||
status="success"
|
||||
:title="$t('user.register-result.msg', { email: '-' })"
|
||||
>
|
||||
<template #extra>
|
||||
<a-button type="primary" @click="$router.push({ path: '/' })">
|
||||
{{ $t('user.register-result.back-home') || '返回首页' }}
|
||||
</a-button>
|
||||
</template>
|
||||
</a-result>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'RegisterResult'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.register-result {
|
||||
padding: 24px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user