refactor: eslint src --fix

This commit is contained in:
2024-04-15 20:35:37 +08:00
parent c75c7092bd
commit 7ecfbb9c15
38 changed files with 187 additions and 227 deletions

View File

@@ -1,10 +1,6 @@
<template>
<div class="json_pretty_container">
<vue-json-pretty
:path="'res'"
:data="JSONObject"
:show-length="true"
/>
<vue-json-pretty :path="'res'" :data="JSONObject" :show-length="true" />
<icon-copy class="copy_icon" @click="onCopy(JSONObject)" />
</div>
</template>
@@ -29,12 +25,12 @@ const onCopy = (data: object) => {
</script>
<style lang="scss" scoped>
.json_pretty_container{
.json_pretty_container {
width: 100%;
height: 100%;
overflow: auto;
position: relative;
.copy_icon{
.copy_icon {
position: absolute;
right: 10px;
top: 10px;
@@ -42,4 +38,4 @@ const onCopy = (data: object) => {
cursor: pointer;
}
}
</style>
</style>