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
|
import { defineProps } from 'vue';
|
vben
authored
|
10
11
|
import { BasicModal } from '/@/components/Modal/index';
import { Description, useDescription } from '/@/components/Description/index';
|
vben
authored
|
12
|
import { useI18n } from '/@/hooks/web/useI18n';
|
vben
authored
|
13
14
|
import { getDescSchema } from './data';
|
vben
authored
|
15
16
17
18
|
defineProps({
info: {
type: Object as PropType<ErrorLogInfo>,
default: null,
|
vben
authored
|
19
|
},
|
vben
authored
|
20
|
});
|
vben
authored
|
21
|
|
vben
authored
|
22
|
const { t } = useI18n();
|
vben
authored
|
23
|
|
vben
authored
|
24
25
26
|
const [register] = useDescription({
column: 2,
schema: getDescSchema()!,
|
vben
authored
|
27
28
|
});
</script>
|