R64 A1-A6:新员工入门引导
这个提交包含在:
@@ -6,6 +6,7 @@ import { useAuth } from "../auth/AuthContext";
|
||||
import { Button } from "../components/ui/button";
|
||||
import { Input } from "../components/ui/input";
|
||||
import { Label } from "../components/ui/label";
|
||||
import { markOnboardingEntryReady } from "../lib/onboardingGuide";
|
||||
|
||||
const PASSWORD_REQUIREMENTS = [
|
||||
"至少 12 位",
|
||||
@@ -35,6 +36,7 @@ export function ChangePasswordPage() {
|
||||
setSubmitting(true);
|
||||
try {
|
||||
await changePassword(oldPassword, newPassword);
|
||||
markOnboardingEntryReady();
|
||||
navigate("/portal", { replace: true });
|
||||
} catch (err) {
|
||||
if (isApiError(err)) {
|
||||
@@ -127,4 +129,3 @@ export function ChangePasswordPage() {
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户