EJS variable always returns zero in Javascript code

后端 未结 0 1605
眼角桃花
眼角桃花 2021-02-01 11:12

I have an .EJS file and the following code is written in it:

<% var sensor_data=0 %>

<%   var client = mqtt.connect(\'mqtt://io.adafruit.com\',
{
    us         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题