const res = await TagList({ tagName: this.form.tagName, ...this.tagObj } || { ...this.tagObj, ...this.form })
传参可以用||表示或者 用&表示与来传参 也可以使用三元表达式
最新推荐文章于 2022-10-16 23:21:26 发布
const res = await TagList({ tagName: this.form.tagName, ...this.tagObj } || { ...this.tagObj, ...this.form })