diff --git a/dolphinscheduler-ui-next/src/views/password/index.tsx b/dolphinscheduler-ui-next/src/views/password/index.tsx index a2eaf8fb59..44621c46ab 100644 --- a/dolphinscheduler-ui-next/src/views/password/index.tsx +++ b/dolphinscheduler-ui-next/src/views/password/index.tsx @@ -24,10 +24,10 @@ import Card from '@/components/card' const password = defineComponent({ name: 'password', setup() { - const { state, t } = useForm() + const { state, rules, t } = useForm() const { handleUpdate } = useUpdate(state) - return { ...toRefs(state), t, handleUpdate } + return { ...toRefs(state), t, handleUpdate, rules } }, render() { const { t } = this @@ -37,17 +37,28 @@ const password = defineComponent({ {{ default: () => (