fix(Toast): can't forbid click (#7396)

解决禁止背景点击失效的问题
This commit is contained in:
Mikasa33 2020-10-23 22:16:13 +08:00 committed by GitHub
parent bd1ed1c1ce
commit 763018907d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ export default createComponent({
setup(props, { emit }) { setup(props, { emit }) {
let timer; let timer;
let clickable; let clickable = false;
const toggleClickable = () => { const toggleClickable = () => {
const newValue = props.show && props.forbidClick; const newValue = props.show && props.forbidClick;