Skip to content

witChangePassword Password Change Component ​

witChangePassword is a component for user password modification, includes password prompt and password change two dialogs, supports password complexity validation and auto-prompt functionality, suitable for management systems that require periodic password changes.

Usage Example ​

vue
<template>
  <div>
    <!-- Password change component -->
    <witChangePassword />
  </div>
</template>

<script lang="ts" setup>
// No additional configuration needed, component automatically detects password status and shows prompt
</script>

API ​

Component ​

Component NameDescription
witChangePasswordPassword change component, includes password prompt and change functionality

Properties ​

Property NameTypeDefault ValueDescription
---This component requires no property configuration

Methods ​

Method NameDescriptionParameter Type
---

Events ​

Event NameDescriptionParameters
---

Features ​

Password Prompt Functionality ​

  • Automatically detects password status based on user information
  • Supports three prompt types: simple password prompt, password expiring soon, password expired

湘ICP备2024070110号