vue this[msg] msg为data中的属性 必须是字符串 this['msg'] = this.msg 转载于:https://www.cnblogs.com/-maomao-/p/7736587.html