#

vue1

  • 基于vue1和vue2獲取dom元素的方法

    vue1.*版本中 在標簽中加上el='dom',然后在代碼中this.$els.dom這樣就拿到了頁面元素 例如:你

    作者:mengyunxiu121415
    2020-10-14 06:16:48
  • 列表渲染 Vue2.0與Vue1.0的區(qū)別

    v-for:  v-for 指令需要以 item in items 形式的特殊語法, items 是源數(shù)據(jù)數(shù)組并且 item 是數(shù)組元素迭代的別名?;居梅ǎ?/p>

    作者:frwupeng517
    2020-07-08 08:10:35