1.重置列表中的参数名
const productIndustryOpt = res.data[0].staticData .map(item => { let obj = {}; obj.label = item.staticDataName; obj.value = item.staticDataCode; return obj; });
2.组件判断显示react
3. vue加载图片
<img :src="接口请求的完整路径"> 或者 <img :src="require(相对路径)">
4.