You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
899 B
31 lines
899 B
<template>
|
|
<el-form :model="form" label-width="auto" size="large" label-position="top" class="sm:w-screen-md w-full sm:py-2">
|
|
<el-form-item label="旧密码">
|
|
<el-input v-model="form.oldPassword" placeholder="请输入旧密码" />
|
|
</el-form-item>
|
|
<el-form-item label="新密码">
|
|
<el-input v-model="form.password" type="password" placeholder="请输入新密码" />
|
|
</el-form-item>
|
|
<el-form-item label="确认密码">
|
|
<el-input v-model="form.password2" type="password" placeholder="请确认新密码" />
|
|
</el-form-item>
|
|
<el-form-item>
|
|
<el-button type="primary" size="large" @click="onSubmit">保存</el-button>
|
|
</el-form-item>
|
|
</el-form>
|
|
</template>
|
|
<script setup lang="ts">
|
|
|
|
withDefaults(
|
|
defineProps<{
|
|
form?: any;
|
|
title?: string;
|
|
desc?: string;
|
|
}>(),
|
|
{}
|
|
);
|
|
</script>
|
|
|
|
<style scoped lang="less">
|
|
|
|
</style>
|