diff --git a/src/main.jsx b/src/main.jsx index 9d03202..286cc6d 100644 --- a/src/main.jsx +++ b/src/main.jsx @@ -19,6 +19,7 @@ import ReservationDetail from "@/views/reservation/Detail"; import ReservationPrint from "@/views/reservation/Print"; import ReservationNameCard from "@/views/reservation/NameCard"; import ChangePassword from "@/views/account/ChangePassword"; +import AccountProfile from "@/views/account/Profile"; import FeedbackIndex from "@/views/feedback/Index"; import FeedbackDetail from "@/views/feedback/Detail"; import NoticeIndex from "@/views/notice/Index"; @@ -47,6 +48,7 @@ const router = createBrowserRouter([ { path: "reservation/:reservationId/print", element: }, { path: "reservation/:reservationId/name-card", element: }, { path: "account/change-password", element: }, + { path: "account/profile", element: }, { path: "feedback", element: }, { path: "feedback/:GRI_SN", element: }, { path: "notice", element: }, diff --git a/src/views/App.jsx b/src/views/App.jsx index 0737f51..4f1a1c1 100644 --- a/src/views/App.jsx +++ b/src/views/App.jsx @@ -17,9 +17,8 @@ const items = [ }, { label: ( - - Privacy - + + Profile ), key: "1", }, diff --git a/src/views/account/ChangePassword.jsx b/src/views/account/ChangePassword.jsx index f22420a..fe76a61 100644 --- a/src/views/account/ChangePassword.jsx +++ b/src/views/account/ChangePassword.jsx @@ -10,7 +10,6 @@ function ChangePassword() { const [form] = Form.useForm(); const onFinish = (values) => { - console.info(values); authStore.changeUserPassword(values.currentPassword, values.newPassword) .then(() => { notification.success({ @@ -50,7 +49,7 @@ function ChangePassword() { onFinishFailed={onFinishFailed} autoComplete="off" > - Change your password + Change your password + + + Bruce Li + Tel:029-85360679 Mobile:13991970308/13310981198 + lizhi@citsxa.com + + XIAN CITS + + + + + ); +} + +export default Profile; \ No newline at end of file