getCommonItem(value) { // api.commonItem 是自己寫的一個(gè)請求方法 return api.commonItem({value: value}).then(res => { console.log("請求的數(shù)據(jù)",res.data.name) return Promise.resolve(res.data.name) })},調(diào)用的地方請求來的數(shù)據(jù)但是返回的并不是 本科和群眾 在界面上顯示的是個(gè)對象請問我怎么才能正確的返回我想要的本科或者群眾 ...
怎么在方法里反回請求來的參數(shù)
蝴蝶不菲
2019-03-04 12:15:03