feat:【antd】【ele】代码风格统一
This commit is contained in:
@@ -14,7 +14,6 @@ const formData = ref<InfraApiAccessLogApi.ApiAccessLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<InfraApiErrorLogApi.ApiErrorLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ const formData = ref<InfraJobLogApi.JobLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@ const nextTimes = ref<Date[]>([]); // 下一次执行时间
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -48,6 +48,7 @@ const afterSale = ref<MallAfterSaleApi.AfterSale>({
|
||||
logs: [],
|
||||
});
|
||||
|
||||
// TODO @xingyu:貌似 antd 相比 antd 来说,多了一个框?有啥办法只有 1 个么?
|
||||
const [OrderDescriptions] = useDescription({
|
||||
title: '订单信息',
|
||||
bordered: false,
|
||||
|
||||
@@ -60,6 +60,7 @@ const deliveryExpressList = ref<MallDeliveryExpressApi.SimpleDeliveryExpress[]>(
|
||||
const expressTrackList = ref<any[]>([]);
|
||||
const pickUpStore = ref<MallDeliveryPickUpStoreApi.PickUpStore | undefined>();
|
||||
|
||||
// TODO @xingyu:貌似 antd 相比 antd 来说,多了一个框?有啥办法只有 1 个么?
|
||||
const [OrderInfoDescriptions] = useDescription({
|
||||
title: '订单信息',
|
||||
bordered: false,
|
||||
@@ -337,7 +338,7 @@ onMounted(async () => {
|
||||
<OperateLogGrid table-title="操作日志">
|
||||
<template #userType="{ row }">
|
||||
<Tag v-if="row.userType === 0" color="default"> 系统 </Tag>
|
||||
<DictTag :type="DICT_TYPE.USER_TYPE" :value="row.userType" />
|
||||
<DictTag v-else :type="DICT_TYPE.USER_TYPE" :value="row.userType" />
|
||||
</template>
|
||||
</OperateLogGrid>
|
||||
</div>
|
||||
|
||||
@@ -19,7 +19,6 @@ const formData = ref<PayNotifyApi.NotifyTask>();
|
||||
const [Description] = useDescription({
|
||||
bordered: true,
|
||||
column: 2,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ const formData = ref<PayOrderApi.Order>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 2,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ const formData = ref<PayRefundApi.Refund>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 2,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@ const formData = ref<PayTransferApi.Transfer>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 2,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<SystemLoginLogApi.LoginLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<SystemMailLogApi.MailLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 2,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<SystemNotifyMessageApi.NotifyMessage>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<SystemOperateLogApi.OperateLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ const formData = ref<SystemSmsLogApi.SmsLog>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 2,
|
||||
class: 'mx-4',
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
@@ -16,9 +16,6 @@ const formData = ref<SystemSocialUserApi.SocialUser>();
|
||||
const [Descriptions] = useDescription({
|
||||
bordered: true,
|
||||
column: 1,
|
||||
size: 'middle',
|
||||
class: 'mx-4',
|
||||
labelStyle: { width: '185px' },
|
||||
schema: useDetailSchema(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user