一直忘,特此记下大致思路。
exportTable () { const origin = window.location.origin; const id = this.$route.params.id; window.open(`${origin}/pyxis-dict/api/dict/downLoadDict? id=${id}`, '_self'); },
一直忘,特此记下大致思路。
exportTable () { const origin = window.location.origin; const id = this.$route.params.id; window.open(`${origin}/pyxis-dict/api/dict/downLoadDict? id=${id}`, '_self'); },
转载于:https://www.cnblogs.com/jiaqi1719/p/10175564.html