main.js的使用
import _ from "lodash"
Vue.prototype._=_;
vue文件中的使用
let me = this;
this.stamp.nationId = _.find(me.ethnicData, o => o.value == me.modify.nationId).label;
main.js的使用
import _ from "lodash"
Vue.prototype._=_;
vue文件中的使用
let me = this;
this.stamp.nationId = _.find(me.ethnicData, o => o.value == me.modify.nationId).label;