提交 56813392 authored 作者: matian's avatar matian

删除无用代码

上级 1696491d
...@@ -83,29 +83,6 @@ export default { ...@@ -83,29 +83,6 @@ export default {
return this.learning.filter(item => item.status !== '3' || item.status !== '4') return this.learning.filter(item => item.status !== '3' || item.status !== '4')
}, },
// list() {
// if (this.learningInfo.length > 0) {
// this.roadList.forEach(item => {
// item.projectList.forEach(it => {
// this.learningInfo.forEach(itL => {
// if (it.tenant === itL.tenant) {
// if (item.projectList.find(it => it.tenant === itL.tenant)) {
// console.log(item.projectList, '123')
// item.isShow = true
// }
// item.projectList = item.projectList.filter(it => it.tenant === itL.tenant)
// console.log(item.projectList, 'projectList')
// item.project_name = '我的项目:'
// }
// })
// })
// })
// return this.roadList
// } else {
// return this.roadList
// }
// }
list() { list() {
// status 状态(0:毕业,1:在读,2:休学,3:未开通,4:退学) // status 状态(0:毕业,1:在读,2:休学,3:未开通,4:退学)
if (this.learningInfo.length > 0) { if (this.learningInfo.length > 0) {
...@@ -184,9 +161,6 @@ export default { ...@@ -184,9 +161,6 @@ export default {
}, },
mounted() { mounted() {
this.learning = JSON.parse(window.localStorage.getItem('learningList')) || '' this.learning = JSON.parse(window.localStorage.getItem('learningList')) || ''
// 过滤出在读的
// const isShowList = this.learning.filter(item=> item.status === '1')
// this.roadList.
} }
} }
</script> </script>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论