Vue.js define lodash requires “this._”

前端 未结 0 838
野趣味
野趣味 2021-02-09 14:52

I want to define lodash globally and use it without having to write \'this._.func()\' in my scripts

Object.defineProperty(Vue.prototype, "_", { value: _         


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