image的src使用三元运算符发布于 7 年前作者 xiangyan2626 次浏览最后编辑 7 年前来自 ask<img src=“{{hasIcon ? icon : iconPlay}}”/> 这样子为什么会无效、??? 应该怎么写?? hasIcon、icon、iconPlay 都是page中data的变量