格式优化

Former-commit-id: 413df45a4d8c1874155d14a829ab973e2bef895d [formerly 413df45a4d8c1874155d14a829ab973e2bef895d [formerly 413df45a4d8c1874155d14a829ab973e2bef895d [formerly 413df45a4d8c1874155d14a829ab973e2bef895d [formerly 06113ad3f1eebcaf8dbbb0ba114e2231fd2b89b6 [formerly fdbbc29ca773dc31b0104d3e136bfd09dd50d35d]]]]]
Former-commit-id: 72dde69d7b7cc2a2159bbc6369cdee400aa3fb6e
Former-commit-id: e48ee6af2fe9fc6c36cbcccdbd2d276d8df5e0f8
Former-commit-id: b047e679f18690225d5724c4752c6d06ed7d404f [formerly 79e62e16d454e6ea8657cd0e4e51c8bcbfa5ba06]
Former-commit-id: a7b5e45c98bca85f709a9cca05d1d40392a44d63
Former-commit-id: 67718f023be9cd2205e56beb8682f8e442e299ef
Former-commit-id: bc7482a6ee5f658c32fc9f0877ec0f3a698b0818
Former-commit-id: e4e83add12288b5d534acacdf4242c80dcde55f7
Former-commit-id: a3746845e5a443ae5dacb0e8a96a9565ca8a11e4
This commit is contained in:
liyang
2018-08-02 20:28:50 +08:00
parent 0b21ec7f7a
commit 3a5a1a4a6b

View File

@@ -1,14 +1,26 @@
<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-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="d2adminLogLength > 0"
:max="99"
:value="d2adminLogErrorLength"
:is-dot="d2adminLogErrorLength === 0">
<d2-icon :name="d2adminLogErrorLength === 0 ? 'dot-circle-o' : 'bug'" style="font-size: 20px"/>
<d2-icon
:name="d2adminLogErrorLength === 0 ? 'dot-circle-o' : 'bug'"
style="font-size: 20px"/>
</el-badge>
<d2-icon v-else name="dot-circle-o" style="font-size: 20px"/>
<d2-icon
v-else
name="dot-circle-o"
style="font-size: 20px"/>
</el-button>
</el-tooltip>
<el-dialog