久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      一文帶你詳解Vue2 中的可選鏈?zhǔn)秸{(diào)用操作符“?.”

      本篇文章帶大家了解一下Vue2 中的可選鏈?zhǔn)秸{(diào)用操作符“?.”,聊聊 ?. 在 template中使用報(bào)錯(cuò)的解決方法,希望對(duì)大家有所幫助!

      一文帶你詳解Vue2 中的可選鏈?zhǔn)秸{(diào)用操作符“?.”

      一、先說(shuō)一下什么是?.(可選鏈?zhǔn)秸{(diào)用操作符

      可選鏈操作符( ?. )允許讀取位于連接對(duì)象鏈深處的屬性的值,而不必明確驗(yàn)證鏈中的每個(gè)引用是否有效。?. 操作符的功能類似于 . 鏈?zhǔn)讲僮鞣?,不同之處在于,在引用為?nullish ) (null 或者 undefined) 的情況下不會(huì)引起錯(cuò)誤,該表達(dá)式短路返回值是 undefined。與函數(shù)調(diào)用一起使用時(shí),如果給定的函數(shù)不存在,則返回 undefined?!?/p>

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)