微信小程序 动态绑定 style 样式为什么报错?

小程序 文章 2021-12-16 15:00 1580 0 全屏看文

AI助手支持GPT4.0

微信小程序 动态绑定 style 样式为什么报错?Why does the WeChat applet report an error when dynamically binding the style?

微信小程序 动态绑定 style 样式为什么报错?

微信小程序 动态绑定 style 样式

为什么加了:就不报错了

Why is the dynamic binding style of wechat applet added: no error will be reported

回答:

八九:

style="left:{{value.area_left_percent}}%"

style="left:{{value.area_left_percent + '%'}}"

ZZ:

代码能整个完整点的不

微喵网络:

报什么错?

-EOF-

AI助手支持GPT4.0