ruoyi-plus-vben5/apps/web-antd/src/views/system/role/index.vue

25 lines
385 B
Vue
Raw Normal View History

2024-08-07 08:57:56 +08:00
<script setup lang="ts">
2024-09-09 11:16:38 +08:00
import { Page } from '@vben/common-ui';
import { Card } from 'ant-design-vue';
import { JsonPreview } from '#/components/code-editor';
const obj = {
address: {
a: 1,
b: true,
},
age: 1234,
name: 'ruoyi-plus',
};
2024-08-07 08:57:56 +08:00
</script>
<template>
2024-09-09 11:16:38 +08:00
<Page>
<Card title="json预览">
<JsonPreview :data="obj" />
</Card>
</Page>
2024-08-07 08:57:56 +08:00
</template>