javascript - Why does the disabled attribute of picker in WeChat applet not take effect?
大家讲道理
大家讲道理 2017-05-19 10:36:49
0
1
1064

picker works normally, but now there is a scenario where picker is not triggered under certain conditions, so I thought of
disabled, but it doesn't seem to take effect.

I want to use a variable in the page to modify the value of disabled. . But every time the value of disabled is an empty string.

Feelings What is the reason for this, please tell me?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
过去多啦不再A梦

Can you read the document carefully

disabled    Boolean    false    是否禁用

disabled是布尔型,你给赋值"false"就是trueah

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template