代码优化
Showing
3 changed files
with
2 additions
and
3 deletions
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | @contextmenu.prevent="openMenu($event, item,list)" | 46 | @contextmenu.prevent="openMenu($event, item,list)" |
47 | :class="{ | 47 | :class="{ |
48 | active_color: item.expand, | 48 | active_color: item.expand, |
49 | curPage:$route.query.bsm==item.bsm | 49 | curPage:$route.query.bsm && $route.query.bsm==item.bsm |
50 | }" | 50 | }" |
51 | > | 51 | > |
52 | <img class="qsztImg" v-if="item.qszt=='0'" :src="linshi"/> | 52 | <img class="qsztImg" v-if="item.qszt=='0'" :src="linshi"/> | ... | ... |
... | @@ -287,7 +287,7 @@ export default { | ... | @@ -287,7 +287,7 @@ export default { |
287 | } | 287 | } |
288 | }, | 288 | }, |
289 | cadFileSuccess(response, file, fileList){ | 289 | cadFileSuccess(response, file, fileList){ |
290 | debugger | 290 | |
291 | }, | 291 | }, |
292 | excelFileSuccess(response, file, fileList){ | 292 | excelFileSuccess(response, file, fileList){ |
293 | var self = this; | 293 | var self = this; | ... | ... |
... | @@ -467,7 +467,6 @@ export default { | ... | @@ -467,7 +467,6 @@ export default { |
467 | }, | 467 | }, |
468 | //自然幢下元素高度宽度计算 | 468 | //自然幢下元素高度宽度计算 |
469 | dataChange() { | 469 | dataChange() { |
470 | debugger | ||
471 | //计算逻辑幢宽度 20为marginRight值 | 470 | //计算逻辑幢宽度 20为marginRight值 |
472 | this.ljzWidth = 20; | 471 | this.ljzWidth = 20; |
473 | if (this.$refs.ljzzdy != undefined) { | 472 | if (this.$refs.ljzzdy != undefined) { | ... | ... |
-
Please register or sign in to post a comment