From c92075fadfa669cd640cd9ef56b8f00389cce633 Mon Sep 17 00:00:00 2001 From: liyang <1711467488@qq.com> Date: Thu, 17 Jan 2019 10:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AA=20lint=20?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 5505242d5501cff532dcacec543129d77422e580 [formerly 5505242d5501cff532dcacec543129d77422e580 [formerly 5505242d5501cff532dcacec543129d77422e580 [formerly 5505242d5501cff532dcacec543129d77422e580 [formerly 1b52ff7180392201a562a8b1619ee25dbf15c64b [formerly f4420b0e04780b3d0b7e1ac67d6a145cadc56c3b]]]]] Former-commit-id: f3246a354dcfcaffa3f02c0a9e18f1ca303452a0 Former-commit-id: 4b6c84eefb0c8f9262b2ecbca58e13803c58483f Former-commit-id: c5edecc6d80b3b88a32e5cfaaa0b263ce53b8dce [formerly 315dca8ed63156b089099db50051595e8ca88a96] Former-commit-id: d3a9c4a5b4277354c889f6f5319542d503d91d7f Former-commit-id: 7682a5465efdd43c764accbae261566cdf0d1541 Former-commit-id: 0974ed226e23bbaa4c5c81e6714648a2c0a08348 Former-commit-id: 5adeea97691f4647f979ad00d6936768e7252520 Former-commit-id: 343caa43f23976f314ee335c005a7bb7fe1723db --- src/components/d2-container/components/d2-source.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/d2-container/components/d2-source.vue b/src/components/d2-container/components/d2-source.vue index 29590997..5cb52e4b 100644 --- a/src/components/d2-container/components/d2-source.vue +++ b/src/components/d2-container/components/d2-source.vue @@ -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 () {