Skip to content

Commit

Permalink
优化计算属性命名
Browse files Browse the repository at this point in the history
Former-commit-id: 0408c03874fd1bbe7530e9d950168324c7f56cf9 [formerly 0408c03874fd1bbe7530e9d950168324c7f56cf9 [formerly 0408c03874fd1bbe7530e9d950168324c7f56cf9 [formerly 0408c03874fd1bbe7530e9d950168324c7f56cf9 [formerly 694b669 [formerly 81f353c088ffa972063e5bcc604b086ebfcdcb89]]]]]
Former-commit-id: 6fd7c1b
Former-commit-id: 368e02f
Former-commit-id: e105f52543900c6839b33865253d47763379dbf8 [formerly e1ae5645440ddeb725514b093b8b048e27341128]
Former-commit-id: bf26051c1fc72e302686e692402986d9eb42a133
Former-commit-id: 5923a43aeaf5283b8ca916f5f067849e8ec52a4f
Former-commit-id: 108334d70e166bfc6c1f5c94e9e6f421cc9c2465
Former-commit-id: daf52855c4f940b771c01947fbe518857bddeb3d
Former-commit-id: 9264f43e994cca8224dff5d5eb842b31b67a83d5
  • Loading branch information
FairyEver committed Jan 16, 2019
1 parent fe786c2 commit 833eb27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/d2-container/components/d2-source.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div
v-if="active"
v-if="show"
class="d2-source"
:class="{ 'd2-source--active': isActive }"
@click="handleClick">
Expand All @@ -23,7 +23,7 @@ export default {
}
},
computed: {
active () {
show () {
return process.env.VUE_APP_BUILD_MODE === 'TRAVIS' ||
process.env.NODE_ENV === 'development' &&
this.filename
Expand Down

0 comments on commit 833eb27

Please sign in to comment.