✨(component): 调整 password 属性, 当有 length > 0 时启用
This commit is contained in:
parent
a7e0086e52
commit
31ad2ff7a3
@ -155,7 +155,7 @@ const showPassword = () => {
|
||||
class="layui-input-suffix-icon"
|
||||
></lay-icon>
|
||||
</span>
|
||||
<span class="layui-input-password" v-if="password">
|
||||
<span class="layui-input-password" v-if="password && hasContent">
|
||||
<lay-icon
|
||||
:type="isPassword ? 'layui-icon-face-smile' : 'layui-icon-face-cry'"
|
||||
@click="showPassword"
|
||||
|
Loading…
Reference in New Issue
Block a user