删除多余的 div

Former-commit-id: 689e318a8559547c9ef349f7876ede9092b00863 [formerly 689e318a8559547c9ef349f7876ede9092b00863 [formerly 689e318a8559547c9ef349f7876ede9092b00863 [formerly 689e318a8559547c9ef349f7876ede9092b00863 [formerly 15da17a8a156f35b835c9106d4f6b697aaf483c1 [formerly 445f9d41931aa1d3eaa803094e3d1e3626c3927b]]]]]
Former-commit-id: 54ed1676cf3b1416d3d95d6882a259a1c812cac3
Former-commit-id: c7e88ebacd457ce022a41ec5acfc484f26a754d3
Former-commit-id: a06c371f74dcf8e82306d668b70400aae8e9e275 [formerly 5d0cdea52c7363a1dbae1b874e68d682b159c489]
Former-commit-id: a87c982577d8949ec897a8fc81828733c1909f74
Former-commit-id: 797ba8396fb9ef60c0fac91dcc50ff2a77316b60
Former-commit-id: c1198211b4e85234053167acb4dcbb239c5fa924
Former-commit-id: b96eb6d508c197f704eb6cb11eb9d0f50688a0b6
Former-commit-id: b0b30dafae4d303737a0c38b90f750b72b0671a2
This commit is contained in:
liyang
2019-03-14 16:58:09 +08:00
parent 720c249b8a
commit bf0c914489

View File

@@ -1,29 +1,27 @@
<template>
<div>
<el-tooltip
effect="dark"
:content="tooltipContent"
placement="bottom">
<el-button
class="d2-ml-0 d2-mr btn-text can-hover"
type="text"
@click="handleClick">
<el-badge
v-if="logLength > 0"
:max="99"
:value="logLengthError"
:is-dot="logLengthError === 0">
<d2-icon
:name="logLengthError === 0 ? 'dot-circle-o' : 'bug'"
style="font-size: 20px"/>
</el-badge>
<el-tooltip
effect="dark"
:content="tooltipContent"
placement="bottom">
<el-button
class="d2-ml-0 d2-mr btn-text can-hover"
type="text"
@click="handleClick">
<el-badge
v-if="logLength > 0"
:max="99"
:value="logLengthError"
:is-dot="logLengthError === 0">
<d2-icon
v-else
name="dot-circle-o"
:name="logLengthError === 0 ? 'dot-circle-o' : 'bug'"
style="font-size: 20px"/>
</el-button>
</el-tooltip>
</div>
</el-badge>
<d2-icon
v-else
name="dot-circle-o"
style="font-size: 20px"/>
</el-button>
</el-tooltip>
</template>
<script>