Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
为什么message等于1,串口没发出数据,进不去if
code.payload()返回的是字符串,而不是数字。
message == "1"