Skip to content

Commit 78b3093

Browse files
committed
修复一个 lint 错误
1 parent a9bda52 commit 78b3093

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/d2-container/components/d2-source.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ export default {
2424
},
2525
computed: {
2626
show () {
27-
return process.env.VUE_APP_BUILD_MODE === 'TRAVIS' ||
28-
process.env.NODE_ENV === 'development' &&
29-
this.filename
27+
return (process.env.VUE_APP_BUILD_MODE === 'TRAVIS' || process.env.NODE_ENV === 'development') && this.filename
3028
}
3129
},
3230
mounted () {

0 commit comments

Comments
 (0)