-
Notifications
You must be signed in to change notification settings - Fork 323
Open
Labels
🐞 bugSomething isn't workingSomething isn't working
Description
tdesign-miniprogram 版本
1.6.2
重现链接
No response
重现步骤
<t-dialog
class="dialog-contain"
visible="{{showWithRename}}"
title="{{ isRename ? '重命名' : '确认删除吗' }}"
close-on-overlay-click
bind:close="closeDialog"
<view slot="content">
<block wx:if="{{ isRename }}">
<t-input
borderless
class="dialog-input"
cursor="{{ currentMyDevice && currentMyDevice.deviceTagName && currentMyDevice.deviceTagName.length }}"
clearable
maxlength="{{20}}"
slot="content"
value="{{ currentMyDevice.deviceTagName || '' }}"
placeholder="{{ '请输入' }}"
placeholder-class="placeholder"
bindchange="changeInput"
bindclear="clearName"
/>
<view class="xiahuaxian"></view>
<view class="dialog-btn-group">
<button bind:tap="closeDialog">取消</button>
<t-divider class="btn-divider" layout="vertical" />
<button bind:tap="confirmDialog">确定</button>
</view>
</block>
<block wx:else>
<view class="dialog-btn-group {{ isRename ? '' : 'remove-top' }}">
<button bind:tap="closeDialog">取消</button>
<t-divider class="btn-divider" layout="vertical" />
<button bind:tap="confirmDelPopup">确定</button>
</view>
</block>
</view>
如下视频:关闭弹窗后,点击空白地方,还能执行内部按钮
WeChat_20250315174157.mp4
期望结果
No response
实际结果
No response
基础库版本
No response
补充说明
No response
Metadata
Metadata
Assignees
Labels
🐞 bugSomething isn't workingSomething isn't working
Type
Projects
Status
No status