refactor: 修改登录页用户名密码
This commit is contained in:
parent
0fd728cb5e
commit
5195b5e8e4
@ -20,7 +20,7 @@ interface FormModel {
|
|||||||
|
|
||||||
const model: FormModel = reactive({
|
const model: FormModel = reactive({
|
||||||
userName: 'admin',
|
userName: 'admin',
|
||||||
password: '654321'
|
password: 'admin'
|
||||||
});
|
});
|
||||||
|
|
||||||
type RuleKey = Extract<keyof FormModel, 'userName' | 'password'>;
|
type RuleKey = Extract<keyof FormModel, 'userName' | 'password'>;
|
||||||
|
Loading…
Reference in New Issue
Block a user