perf: vxe

This commit is contained in:
xingyu4j
2022-11-12 17:33:48 +08:00
parent 16b3e910e4
commit 199d3ebb69
6 changed files with 22 additions and 25 deletions

View File

@ -46,14 +46,7 @@
v-if="actionType === 'detail'"
:schema="allSchemas.detailSchema"
:data="detailRef"
>
<template #type="{ row }">
<DictTag :type="DICT_TYPE.SYSTEM_ERROR_CODE_TYPE" :value="row.type" />
</template>
<template #createTime="{ row }">
<span>{{ dayjs(row.createTime).format('YYYY-MM-DD HH:mm:ss') }}</span>
</template>
</Descriptions>
/>
</template>
<!-- 操作按钮 -->
<template #footer>
@ -71,8 +64,6 @@
<script setup lang="ts">
import { ref, unref } from 'vue'
import dayjs from 'dayjs'
import { DICT_TYPE } from '@/utils/dict'
import type { ErrorCodeVO } from '@/api/system/errorCode/types'
import { rules, allSchemas } from './errorCode.data'
import * as ErrorCodeApi from '@/api/system/errorCode'