27 lines
668 B
Vue
27 lines
668 B
Vue
<template>
|
|
<BasicModal :width="800" :title="t('sys.errorLog.tableActionDesc')" v-bind="$attrs">
|
|
<Description :data="info" @register="register" />
|
|
</BasicModal>
|
|
</template>
|
|
<script lang="ts" setup>
|
|
import type { ErrorLogInfo } from '@/types/store'
|
|
import { BasicModal } from '@/components/Modal'
|
|
import { Description, useDescription } from '@/components/Description'
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
|
import { getDescSchema } from './data'
|
|
|
|
defineProps({
|
|
info: {
|
|
type: Object as PropType<ErrorLogInfo>,
|
|
default: null
|
|
}
|
|
})
|
|
|
|
const { t } = useI18n()
|
|
|
|
const [register] = useDescription({
|
|
column: 2,
|
|
schema: getDescSchema()!
|
|
})
|
|
</script>
|