Vue Testing - '… .push is not a function'

前端 未结 0 795
一整个雨季
一整个雨季 2020-12-07 01:37

Im trying to test a method of a component that adds a new entry to an already existing object.

addTag: function () {
  this.value[this.field.key].push(this.ta         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题