mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 23:31:29 +00:00
perf: 优化忘记密码URL不自动增加 http:// 前缀
This commit is contained in:
@@ -25,17 +25,6 @@ export default {
|
||||
]
|
||||
]
|
||||
],
|
||||
fieldsMeta: {
|
||||
FORGOT_PASSWORD_URL: {
|
||||
on: {
|
||||
change([value], updateForm) {
|
||||
if (value && !value.startsWith('http')) {
|
||||
updateForm({ FORGOT_PASSWORD_URL: 'http://' + value })
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
submitMethod() {
|
||||
return 'patch'
|
||||
}
|
||||
|
Reference in New Issue
Block a user