Vue 根据页面结构,重新组合数组
res.data.forEach(item => {
const obj = {
name: item.m_name,
id: item.id,
url: 'http://101.37.246.134:9012/' + item.m_path
};
this.form.push(obj);
});
Vue 根据页面结构,重新组合数组
res.data.forEach(item => {
const obj = {
name: item.m_name,
id: item.id,
url: 'http://101.37.246.134:9012/' + item.m_path
};
this.form.push(obj);
});