Skip to content

Commit

Permalink
fix easyinput 在密码输入的情况下同时开启清除和小眼睛导致清除图标被覆盖的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
18148764734 committed Mar 14, 2024
1 parent 10b5fee commit f80ac03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/vue/easyinput/easyinput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</uni-section>

<uni-section title="密码框" subTitle="指定属性 type=password 使用密码框,右侧会显示眼睛图标" type="line" padding>
<uni-easyinput type="password" v-model="password" placeholder="请输入密码"></uni-easyinput>
<uni-easyinput :clearable="false" type="password" v-model="password" placeholder="请输入密码"></uni-easyinput>
</uni-section>

<uni-section title="多行文本" subTitle="指定属性 type=textarea 使用多行文本框" type="line" padding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
:type="showPassword ? 'eye-slash-filled' : 'eye-filled'" :size="22"
:color="focusShow ? primaryColor : '#c0c4cc'" @click="onEyes"></uni-icons>
</template>
<template v-else-if="suffixIcon">
<template v-if="suffixIcon">
<uni-icons v-if="suffixIcon" class="content-clear-icon" :type="suffixIcon" color="#c0c4cc"
@click="onClickIcon('suffix')" size="22"></uni-icons>
</template>
Expand Down

0 comments on commit f80ac03

Please sign in to comment.