📜  vuetify 数据表扩展图标示例 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:47.239000             🧑  作者: Mango

代码示例2
clicked (value) {
    const index = this.expanded.indexOf(value)
    if (index === -1) {
      this.expanded.push(value)
    } else {
      this.expanded.splice(index, 1)
    }
  },