提交 bd4071db 编写于 作者: Cano1997's avatar Cano1997

update: 添加enableAutoCompletePassword环境参数

上级 b6ca7544
......@@ -20,4 +20,5 @@ redirectWhiteList:REDIRECTWHITELIST
portalNum:PORTALNUM
fileUploadWhiteList:FILEUPLOADWHITELIST
fileUploadMaxSize:FILEUPLOADMAXSIZE
fileUploadDescription:FILEUPLOADDESCRIPTION
\ No newline at end of file
fileUploadDescription:FILEUPLOADDESCRIPTION
enableAutoCompletePassword: ENABLEAUTOCOMPLETEPASSWORD
\ No newline at end of file
......@@ -236,7 +236,11 @@ export default defineComponent({
</i-form-item>
<i-form-item prop='password'>
<i-input
type='text'
type={
ibiz.env.enableAutoCompletePassword && !showPwd.value
? 'password'
: 'text'
}
class={[ns.e('password'), ns.is('show-pwd', showPwd.value)]}
value={loginData.password}
on-on-change={(evt: InputEvent) => {
......
......@@ -158,7 +158,11 @@ export default defineComponent({
</i-form-item>
<i-form-item prop='password'>
<i-input
type='text'
type={
ibiz.env.enableAutoCompletePassword && !showPwd.value
? 'password'
: 'text'
}
class={[ns.e('password'), ns.is('show-pwd', showPwd.value)]}
value={loginData.password}
on-on-change={(evt: InputEvent) => {
......
......@@ -155,7 +155,11 @@ export default defineComponent({
<span class={ns.b('form-label-text')}>密码</span>
</div>
<i-input
type='text'
type={
ibiz.env.enableAutoCompletePassword && !showPwd.value
? 'password'
: 'text'
}
value={loginData.password}
on-on-change={(evt: InputEvent) => {
const { value } = evt.target as HTMLInputElement;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册