mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-17 15:52:32 +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() {
|
submitMethod() {
|
||||||
return 'patch'
|
return 'patch'
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user