📜  vuejs 从数据中访问 props - Javascript 代码示例

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

代码示例2
data: function() {
  var theData = {
    somevar: this.messageId,
    // other object attributes
  }

  return theData;
}