Skip to content

Commit

Permalink
fix: 调整发布参数
Browse files Browse the repository at this point in the history
  • Loading branch information
IceyWu committed Jan 12, 2025
1 parent c8d59ba commit eb7f7fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/Slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ function clickTab(item, index) {
console.log('clickTab', item, index)
const { name } = item
if (name === '发布') {
// isShowDialog.value = true
ElMessage.warning('发布重构中,尽情期待!')
isShowDialog.value = true
// ElMessage.warning('发布重构中,尽情期待!')
}
}
</script>
Expand Down
9 changes: 5 additions & 4 deletions src/components/post/base.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ onChange(async (file) => {
thumbnail: `${url}?x-oss-process=image/resize,l_500`,
videoSrc,
}
tempFileList.push({ ...fileData, name })
// tempFileList.push({ ...fileData, name })
tempFileList.push({ ...result })
}
initFileFill(tempFileList)
showUploadLoading.value = false
Expand Down Expand Up @@ -170,7 +171,7 @@ async function initFileFill(fileListT) {
tempList.push(item)
}
}
console.log('🌵-----tempList-----', tempList)
fileList.value.push(...tempList)
}
Expand Down Expand Up @@ -371,7 +372,7 @@ function initExtraData() {
</el-tag>
</div>
<!-- 图片 -->
<template v-if="item.fileType == 'IMAGE'">
<template v-if="item.type.includes('image')">
<!-- <el-image class="h-full w-full" fit="cover" :src="item.file">
<template #placeholder>
<div class="image-slot">
Expand All @@ -385,7 +386,7 @@ function initExtraData() {
</div>
</template>
<!-- 视频 -->
<template v-else-if="item.fileType == 'VIDEO'">
<template v-else-if="item.typeincludes('video')">
<video
class="h-full w-full"
controls
Expand Down

0 comments on commit eb7f7fb

Please sign in to comment.