fix: 修改bug

This commit is contained in:
leiqiaochu 2023-07-15 13:51:43 +08:00
parent 8b74fc76fc
commit 20337c378d
3 changed files with 11 additions and 4 deletions

View File

@ -123,7 +123,7 @@
@click="playerActive = index"
>
<div
class="media-btn-refresh"
class="media-btn-refresh refreshBtn"
:style="{
display: item.url ? 'block' : 'none',
}"
@ -464,4 +464,10 @@ defineExpose({
:deep(.vjs-icon-spinner){
display: none;
}
.refreshBtn{
opacity: 0;
}
.refreshBtn:hover{
opacity: 1;
}
</style>

View File

@ -66,6 +66,7 @@
model="TABLE"
:columns="columns"
:request="history"
:scroll="{ x: 1500 }"
:defaultParams="{
sorts: [{ name: 'createTime', order: 'desc' }],
terms: defaultParams,
@ -74,9 +75,8 @@
>
<template #completeTime="slotProps">
<span>{{
moment(slotProps.completeTime).format(
'YYYY-MM-DD HH:mm:ss',
)
slotProps?.completeTime ? moment(slotProps.completeTime).format(
'YYYY-MM-DD HH:mm:ss') : ""
}}</span>
</template>
<template #createTime="slotProps">

View File

@ -207,6 +207,7 @@ const getActions = (data: Partial<Record<string, any>>): ActionsType[] => {
popConfirm: {
title: '确认删除?',
okText: ' 确定',
placement: 'topLeft',
cancelText: '取消',
onConfirm: async () => {
handlDelete(data.id);