开发者社区 问答 正文

Vue中Caveats代码是什么呀?

Vue中Caveats代码是什么呀?

展开
收起
游客r3yctwty2duzw 2022-08-11 22:04:34 317 分享 版权
1 条回答
写回答
取消 提交回答
  • 代码如下

    Caveats
    
    - Due to limitations in JavaScript, Vue cannot detect the 
    following changes
    
    to an array:
    
    When you directly set an item with the index, e.g.
    m.items[indexOfItem] = newValue
    
    When you modify the length of the array, e.g.
    m.items.length = newLength
    
    2022-08-12 08:56:20
    赞同 展开评论
问答分类:
问答地址: