This commit is contained in:
xingyu
2022-11-22 22:03:02 +08:00
parent 557f2937f5
commit 6f1f24b43e
9 changed files with 33 additions and 32 deletions

View File

@ -16,12 +16,13 @@
</el-form>
</template>
<script setup lang="ts">
import { InputPassword } from '@/components/InputPassword'
import { ref, reactive } from 'vue'
import { ElForm, ElFormItem, ElMessage } from 'element-plus'
import type { FormRules, FormInstance } from 'element-plus'
import { updateUserPwdApi } from '@/api/system/user/profile'
import { ref, reactive } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { InputPassword } from '@/components/InputPassword'
import { updateUserPwdApi } from '@/api/system/user/profile'
const { t } = useI18n()
const formRef = ref<FormInstance>()
const password = reactive({