变量只要写入scroll-view就没作用了
https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html
变量只要写到scroll-view行内,就没用了(msgId是变量,初始是0,执行后+1)

上面是没有添加数据
下面是添加数据后id号涨了,但是scroll行内变量还是不变

https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html
变量只要写到scroll-view行内,就没用了(msgId是变量,初始是0,执行后+1)
上面是没有添加数据
下面是添加数据后id号涨了,但是scroll行内变量还是不变