新增联系人页面路由,并将提交成功提示信息的文本从中文更改为英文。
This commit is contained in:
parent
cfc22f0b1e
commit
fde7ccbfb8
@ -13,6 +13,11 @@ const routes = [
|
||||
// next()
|
||||
// }
|
||||
children: [
|
||||
{
|
||||
path: '/contacts',
|
||||
name: 'contacts',
|
||||
component: () => import('@/views/contacts/index.vue'),
|
||||
},
|
||||
{
|
||||
path: '/home',
|
||||
name: 'home',
|
||||
@ -67,11 +72,7 @@ const routes = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/contacts',
|
||||
name: 'contacts',
|
||||
component: () => import('@/views/contacts/index.vue'),
|
||||
},
|
||||
|
||||
// {
|
||||
// path: '/companyprofil',
|
||||
// name: 'Companyprofil',
|
||||
|
@ -57,8 +57,8 @@ function handleSubmit(e) {
|
||||
<template v-else>
|
||||
<div class="flex flex-col items-center justify-center min-h-[300px] animate-bounce-in">
|
||||
<span class="i-mdi:check-circle-outline text-green-500 text-5xl mb-4"></span>
|
||||
<h2 class="text-2xl font-bold text-primary mb-2">提交成功!</h2>
|
||||
<div class="text-gray-700 text-base mb-4">您提交的信息如下:</div>
|
||||
<h2 class="text-2xl font-bold text-primary mb-2">Submitted successfully!</h2>
|
||||
<div class="text-gray-700 text-base mb-4">The information you submitted is as follows:</div>
|
||||
<div class="w-full bg-white/80 rounded-xl shadow p-4 space-y-2 text-gray-800">
|
||||
<div><span class="font-semibold">First Name:</span>{{ form.firstName }}</div>
|
||||
<div><span class="font-semibold">Last Name:</span>{{ form.lastName }}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user