<view class="news-item" hover-class="click" hover-start-time="5" ></view>
<view class="news-item" hover-class="click" hover-start-time=5 ></view>
上述两种都会提升是string,而非number.
Invalid prop: type check failed for prop "hoverStayTime". Expected Number with value 5, got String with value "5"
tyswk
- 发布:2019-04-10 14:00
- 更新:2021-04-22 17:03
- 阅读:2042
tyswk (作者)
谢谢,好了,就是感觉怪怪的方式
2019-04-11 23:58