|
|
@ -28,6 +28,7 @@ |
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
|
import { Form } from 'ant-design-vue'; |
|
|
|
import { resetPwd } from '/@/api/platform/system/controller/user'; |
|
|
|
import { resetPwd } from '/@/api/platform/system/controller/user'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
import { useMessage } from '/@/hooks/web/useMessage'; |
|
|
|
|
|
|
|
import {Recordable} from "/#/global"; |
|
|
|
|
|
|
|
|
|
|
|
/** 类型规范统一声明定义区域 */ |
|
|
|
/** 类型规范统一声明定义区域 */ |
|
|
|
interface WindowState { |
|
|
|
interface WindowState { |
|
|
@ -45,7 +46,7 @@ |
|
|
|
id: '', |
|
|
|
id: '', |
|
|
|
newPassword: '' |
|
|
|
newPassword: '' |
|
|
|
}); |
|
|
|
}); |
|
|
|
const rulesRef = reactive({ |
|
|
|
const rulesRef = reactive<Recordable>({ |
|
|
|
newPassword: [ |
|
|
|
newPassword: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
required: true, |
|
|
|