vben
authored
|
1
|
<template>
|
vben
authored
|
2
|
<BasicModal :width="800" :title="t('sys.errorLog.tableActionDesc')" v-bind="$attrs">
|
vben
authored
|
3
4
5
|
<Description :data="info" @register="register" />
</BasicModal>
</template>
|
vben
authored
|
6
|
<script lang="ts" setup>
|
vben
authored
|
7
|
import type { PropType } from 'vue';
|
Vben
authored
|
8
|
import type { ErrorLogInfo } from '/#/store';
|
vben
authored
|
9
10
|
import { BasicModal } from '/@/components/Modal/index';
import { Description, useDescription } from '/@/components/Description/index';
|
vben
authored
|
11
|
import { useI18n } from '/@/hooks/web/useI18n';
|
vben
authored
|
12
13
|
import { getDescSchema } from './data';
|
vben
authored
|
14
15
16
17
|
defineProps({
info: {
type: Object as PropType<ErrorLogInfo>,
default: null,
|
vben
authored
|
18
|
},
|
vben
authored
|
19
|
});
|
vben
authored
|
20
|
|
vben
authored
|
21
|
const { t } = useI18n();
|
vben
authored
|
22
|
|
vben
authored
|
23
24
25
|
const [register] = useDescription({
column: 2,
schema: getDescSchema()!,
|
vben
authored
|
26
27
|
});
</script>
|