代办箱
Showing
1 changed file
with
5 additions
and
10 deletions
| ... | @@ -132,18 +132,13 @@ export default { | ... | @@ -132,18 +132,13 @@ export default { |
| 132 | window.open(row.url) | 132 | window.open(row.url) |
| 133 | }, | 133 | }, |
| 134 | handleSelect(item) { | 134 | handleSelect(item) { |
| 135 | console.log(this.$route.path+":this.$route.params.path") | 135 | console.log(JSON.stringify(item)+":item") |
| 136 | //非编辑状态才可以点击 | 136 | //非编辑状态才可以点击 |
| 137 | if (!this.isEdit) { | 137 | if (!this.isEdit) { |
| 138 | if(this.$route.path === '/dbx'){ | 138 | if(item.path){ |
| 139 | this.$parent.changeActiveName("dbx"); | 139 | this.$router.push({ |
| 140 | 140 | path:'/dbx' | |
| 141 | }else { | 141 | }) |
| 142 | if(item.path){ | ||
| 143 | this.$router.push({ | ||
| 144 | path:'/dbx' | ||
| 145 | }) | ||
| 146 | } | ||
| 147 | } | 142 | } |
| 148 | } | 143 | } |
| 149 | }, | 144 | }, | ... | ... |
-
Please register or sign in to post a comment