no message
Former-commit-id: ba9d1d9f30615949c6872ff141b81afe290326eb [formerly ba9d1d9f30615949c6872ff141b81afe290326eb [formerly ba9d1d9f30615949c6872ff141b81afe290326eb [formerly ba9d1d9f30615949c6872ff141b81afe290326eb [formerly fe3d52563dd793d7ce5f50a23a14a8bf0a93856c [formerly d5e4b6d9e679e9532e86ab8114a57479534e3a34]]]]] Former-commit-id: 3bf9c44c910851a454974eec8c919673d5b5536d Former-commit-id: a92ef5ee72bdfc837e052c5b00d97ce493b62456 Former-commit-id: babbfcf496ec4436d6141b2c9866ef66f2b46598 [formerly a980c724ee86a08c5c865edd1df0730a67808e4e] Former-commit-id: 809817d6d84a7be86a50b6b89ec3e31ba5a85f59 Former-commit-id: 1affbf17f09ff2e1259b5b761376d5a7fad4e417 Former-commit-id: da59858fece84ac3c4f562882e5ee4af13955569 Former-commit-id: 9e19f85dec0f0bcc9224a4830b5ed1ecb6d0cfe7 Former-commit-id: 12862a9f7bc78a9500c4c7a3a4e6e037b367e3ec
This commit is contained in:
@@ -28,13 +28,20 @@
|
||||
:fullscreen="true"
|
||||
:visible.sync="dialogVisible"
|
||||
:append-to-body="true">
|
||||
<div class="d2-mb-10">
|
||||
<el-button type="danger" size="mini" @click="handleLogClean">
|
||||
<d2-icon name="trash-o"/>
|
||||
清空
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
<d2-error-log-list/>
|
||||
</el-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import { mapGetters, mapMutations } from 'vuex'
|
||||
export default {
|
||||
data () {
|
||||
return {
|
||||
@@ -55,10 +62,17 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapMutations([
|
||||
'd2adminLogClean'
|
||||
]),
|
||||
handleClick () {
|
||||
if (this.d2adminLogLength > 0) {
|
||||
this.dialogVisible = true
|
||||
}
|
||||
},
|
||||
handleLogClean () {
|
||||
this.dialogVisible = false
|
||||
this.d2adminLogClean()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
082feab1bf6e53d7b8e4b5ec8fc6e0198453af65
|
||||
e4ab1430c4c060982feba2dd36f3c041195f0ad4
|
||||
Reference in New Issue
Block a user