Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用 nut-short-password 组件,close-on-click-overlay 属性设置为 false无效,还是可以点击遮罩层关闭掉。 #434

Closed
ye21st opened this issue Oct 11, 2024 · 1 comment
Labels
🐞 bug 已验证的缺陷

Comments

@ye21st
Copy link

ye21st commented Oct 11, 2024

nutui-uniapp 版本号

1.7.17

平台

h5

重现链接

重现步骤

<!-- 短密码框 -->
	<nut-short-password
		v-model="shortPasswordObj.value"
		v-model:visible="shortPasswordObj.visible"
		title="管理员登录"
		desc="请输入6位数字密码"
		tips="如您忘记,请联系相关负责人获取登录密码"
		:close-on-click-overlay="false"
		length="6"
		@focus="shortPasswordObj.showKeyboard=!shortPasswordObj.showKeyboard"
		@close="shortPasswordObj.showKeyboard=false"
	>
	</nut-short-password>
	<nut-number-keyboard
		v-model="shortPasswordObj.value"
		v-model:visible="shortPasswordObj.showKeyboard"
	>
	</nut-number-keyboard>

期望的结果是什么?

点击遮罩层不会关闭掉短密码框

实际的结果是什么?

点击弹窗会关闭短密码框

环境信息

No response

其他补充信息

No response

@xiaohe0601
Copy link
Member

感谢反馈,下个版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug 已验证的缺陷
Projects
None yet
Development

No branches or pull requests

2 participants