mirror of
https://gitee.com/yudaocode/yudao-ui-admin-vben.git
synced 2025-12-30 02:22:25 +00:00
fix: ele mp 素材管理
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<script lang="ts" setup>
|
||||
import type { UploadProps, UploadRawFile } from 'element-plus';
|
||||
import type { UploadProps } from 'element-plus';
|
||||
|
||||
import type { UploadData } from './upload';
|
||||
|
||||
|
||||
@@ -163,4 +163,3 @@ const customRequest: UploadProps['httpRequest'] = async function (options) {
|
||||
</ElForm>
|
||||
</ElDialog>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ onMounted(async () => {
|
||||
<template>
|
||||
<Grid class="image-table-grid mt-4 pb-0">
|
||||
<template #toolbar-tools>
|
||||
<slot name="toolbar-tools" />
|
||||
<slot name="toolbar-tools"></slot>
|
||||
</template>
|
||||
<template #image="{ row }">
|
||||
<div class="flex items-center justify-center" style="height: 192px">
|
||||
@@ -104,4 +104,3 @@ onMounted(async () => {
|
||||
</template>
|
||||
</Grid>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ watch(
|
||||
<template>
|
||||
<Grid class="mt-4">
|
||||
<template #toolbar-tools>
|
||||
<slot name="toolbar-tools" />
|
||||
<slot name="toolbar-tools"></slot>
|
||||
</template>
|
||||
<template #video="{ row }">
|
||||
<WxVideoPlayer v-if="row.url" :url="row.url" />
|
||||
@@ -96,4 +96,3 @@ watch(
|
||||
</template>
|
||||
</Grid>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -96,4 +96,3 @@ watch(
|
||||
</template>
|
||||
</Grid>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -114,7 +114,7 @@ function showTotal(total: number) {
|
||||
<template>
|
||||
<Page auto-content-height class="flex flex-col">
|
||||
<!-- 搜索工作栏 -->
|
||||
<div class="bg-background mb-4 rounded-lg p-4">
|
||||
<div class="mb-4 rounded-lg bg-background p-4">
|
||||
<ElForm
|
||||
ref="queryFormRef"
|
||||
:model="queryParams"
|
||||
@@ -174,7 +174,7 @@ function showTotal(total: number) {
|
||||
</div>
|
||||
|
||||
<!-- 列表 -->
|
||||
<div class="bg-background flex-1 rounded-lg p-4">
|
||||
<div class="flex-1 rounded-lg bg-background p-4">
|
||||
<MessageTable :list="list" :loading="loading" @send="handleSend" />
|
||||
<div v-show="total > 0" class="mt-4 flex justify-end">
|
||||
<ElPagination
|
||||
@@ -208,4 +208,3 @@ function showTotal(total: number) {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user