请问为什么引用qs库时会报这个错误?我在main.js中也注册过$qs了
// searchForm: {
// name:"",
// role:[],
// current: 1,
// size: 5,
// },
let newObj = JSON.parse(JSON.stringify(this.searchForm))
newObj = this.$qs.strintfy(newObj,{arrayFormat: 'indices'})
望采纳!!!!新年快乐🎉!!
let newQS = Object.assign(这里是目标对象,如数组[]这样, this.$qs)
然后再用 newQS.strintfy 方法