pages/home/home.vue
@@ -144,11 +144,11 @@ res = res.data that.elements = [ { title: '组件物料', name: 'moduleMat', title: '组件入库', name: 'modulePakin', color: 'green', cuIcon: 'order', url: '/mat/moduleMat' url: '/pakin/modulePakin' }, ] if (res.code === 200) { @@ -161,7 +161,7 @@ break; } that.getIcon(res.data[i].title) that.elements.unshift({ that.elements.push({ title: res.data[i].name, name: res.data[i].title, color: that.colorList[i],