mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-13 12:30:53 +08:00
20 lines
361 B
Vue
20 lines
361 B
Vue
<script lang="ts" setup>
|
|
import VueJsonPretty from 'vue-json-pretty';
|
|
|
|
import 'vue-json-pretty/lib/styles.css';
|
|
|
|
defineProps<{ data: any }>();
|
|
</script>
|
|
|
|
<template>
|
|
<VueJsonPretty :data="data" :deep="3" :show-length="true" path="res" />
|
|
</template>
|
|
|
|
<style lang="less">
|
|
html[class='dark'] {
|
|
.vjs-tree-node:hover {
|
|
background-color: #333;
|
|
}
|
|
}
|
|
</style>
|