Browse Source

remove useless code

hare8999@163.com 2 years ago
parent
commit
e85d7145c4
1 changed files with 0 additions and 4 deletions
  1. 0 4
      src/views/career/plan/new-major-detail.vue

+ 0 - 4
src/views/career/plan/new-major-detail.vue

@@ -157,12 +157,10 @@ export default {
     },
     handleNodeClick(data, node) {
       if (!node.isLeaf || this.code == node.data.code) return
-      // console.log('跳转')
       // 跳转
       this.code = node.data.code
       this.tabActive = 0
       this.getOverView()
-      // this.$router.replace({path:'/career/plan/MajorDetail',query:{type:this.type,code:node.data.code}})
     },
     isLeaf(data, node) {
       return node.childCount == 0
@@ -177,7 +175,6 @@ export default {
       }).then(res => {
         this.prospects = res.data
         this.desc = res.msg
-        console.log(res)
       }).finally(_ => {
         this.loading = false
       })
@@ -187,7 +184,6 @@ export default {
       getMajorOverviewByCode({
         code: this.code
       }).then(res => {
-        console.log(res)
         this.majorDetail = res.data
       }).finally(_ => {
         this.loading = false