fix: 修复强制重置密码流程与表单状态
- 修正强制改密跳转及免旧密码的服务端校验 - 统一双端表单错误布局与更新按钮加载状态 - 补充认证服务和强制改密路由测试
This commit is contained in:
@@ -7,15 +7,20 @@ import { computed, nextTick, onUnmounted, useTemplateRef, watch } from 'vue';
|
||||
|
||||
import { CircleAlert } from '@easyflow-core/icons';
|
||||
import {
|
||||
EasyFlowRenderContent,
|
||||
EasyFlowTooltip,
|
||||
FormControl,
|
||||
FormDescription,
|
||||
FormField,
|
||||
FormItem,
|
||||
FormMessage,
|
||||
EasyFlowRenderContent,
|
||||
EasyFlowTooltip,
|
||||
} from '@easyflow-core/shadcn-ui';
|
||||
import { cn, isFunction, isObject, isString } from '@easyflow-core/shared/utils';
|
||||
import {
|
||||
cn,
|
||||
isFunction,
|
||||
isObject,
|
||||
isString,
|
||||
} from '@easyflow-core/shared/utils';
|
||||
|
||||
import { toTypedSchema } from '@vee-validate/zod';
|
||||
import { useFieldError, useFormValues } from 'vee-validate';
|
||||
@@ -387,7 +392,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
|
||||
<Transition name="slide-up" v-if="!compact">
|
||||
<FormMessage class="absolute" />
|
||||
<FormMessage />
|
||||
</Transition>
|
||||
</div>
|
||||
</FormItem>
|
||||
|
||||
Reference in New Issue
Block a user