Skip to content

Commit

Permalink
修复一个 lint 错误
Browse files Browse the repository at this point in the history
  • Loading branch information
FairyEver committed Jan 17, 2019
1 parent a9bda52 commit 78b3093
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/d2-container/components/d2-source.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ export default {
},
computed: {
show () {
return process.env.VUE_APP_BUILD_MODE === 'TRAVIS' ||
process.env.NODE_ENV === 'development' &&
this.filename
return (process.env.VUE_APP_BUILD_MODE === 'TRAVIS' || process.env.NODE_ENV === 'development') && this.filename
}
},
mounted () {
Expand Down

0 comments on commit 78b3093

Please sign in to comment.