mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
⬆️ 升级依赖,修复终端报错
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
<template>
|
||||
<div class="tj-box">
|
||||
{{ JSON.stringify(props.data, null, 2) }}
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
interface TJsonProps {
|
||||
data: JSON;
|
||||
}
|
||||
|
||||
const props = defineProps<TJsonProps>();
|
||||
</script>
|
||||
<style lang="css" scoped>
|
||||
.tj-box {
|
||||
overflow: auto;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--common-shadow-2);
|
||||
border-radius: 10px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user