安装
npm i qs
按需引用即可
import qs from 'qs'
使用
let comments = {content: this.inputValue}
let comValue = qs.stringify(comments)
安装
npm i qs
按需引用即可
import qs from 'qs'
使用
let comments = {content: this.inputValue}
let comValue = qs.stringify(comments)
转载于:https://www.cnblogs.com/wjw-/p/11571180.html