Commit 5627f119 authored by nick zheng's avatar nick zheng

chore: 文字繁体字更正及展示背景图名称

parent ae2303a8
...@@ -94,7 +94,10 @@ async function uploadImage(event: any) { ...@@ -94,7 +94,10 @@ async function uploadImage(event: any) {
uploadLoading.value = true uploadLoading.value = true
const res = await handleUploadBackgroundImageFile(fileName, formData).finally(() => (uploadLoading.value = false)) const res = await handleUploadBackgroundImageFile(fileName, formData).finally(() => {
uploadLoading.value = false
event.target.value = null
})
if (res.code === 0) { if (res.code === 0) {
getBackgroundImageList() getBackgroundImageList()
...@@ -179,7 +182,7 @@ function handleUpdateBackgroundImageType(backgroundImageType: string) { ...@@ -179,7 +182,7 @@ function handleUpdateBackgroundImageType(backgroundImageType: string) {
> >
<img class="h-full w-full object-contain" :src="image.imageUrl" @load="onImageLoaded(index)" /> <img class="h-full w-full object-contain" :src="image.imageUrl" @load="onImageLoaded(index)" />
<div <div
class="absolute bottom-0 h-5 w-full bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white" class="absolute bottom-0 line-clamp-1 h-5 w-full break-all bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white"
> >
{{ image.imageName }} {{ image.imageName }}
</div> </div>
...@@ -212,7 +215,7 @@ function handleUpdateBackgroundImageType(backgroundImageType: string) { ...@@ -212,7 +215,7 @@ function handleUpdateBackgroundImageType(backgroundImageType: string) {
> >
<img class="h-full w-full object-contain" :src="image.imageUrl" @load="onImageLoaded(index)" /> <img class="h-full w-full object-contain" :src="image.imageUrl" @load="onImageLoaded(index)" />
<div <div
class="absolute bottom-0 h-5 w-full bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white" class="absolute bottom-0 line-clamp-1 h-5 w-full break-all bg-gradient-to-t from-gray-600 px-1 text-xs leading-5 text-white"
> >
{{ image.imageName }} {{ image.imageName }}
</div> </div>
......
...@@ -252,7 +252,7 @@ function handleGetDialogueListUpdatePageSize(pageSize: number) { ...@@ -252,7 +252,7 @@ function handleGetDialogueListUpdatePageSize(pageSize: number) {
v-model="searchQuery" v-model="searchQuery"
type="text" type="text"
class="mx-[11px] w-[183px] border-none outline-none" class="mx-[11px] w-[183px] border-none outline-none"
placeholder="請輸入名稱進行索" placeholder="請輸入名稱進行索"
@keyup.enter="handleSearchDiaglogList" @keyup.enter="handleSearchDiaglogList"
/> />
<CloseOne <CloseOne
...@@ -277,6 +277,7 @@ function handleGetDialogueListUpdatePageSize(pageSize: number) { ...@@ -277,6 +277,7 @@ function handleGetDialogueListUpdatePageSize(pageSize: number) {
:row-key="(row: DiaglogueTableItem) => row.configId" :row-key="(row: DiaglogueTableItem) => row.configId"
:scroll-x="1056" :scroll-x="1056"
:max-height="tableContentY" :max-height="tableContentY"
:checked-row-keys="checkedConfigIdList"
@update:checked-row-keys="handleUpdateCheckedDialogueList" @update:checked-row-keys="handleUpdateCheckedDialogueList"
> >
<template #empty> <template #empty>
......
...@@ -216,7 +216,7 @@ function handleGetDraftListUpdatePageSize(pageSize: number) { ...@@ -216,7 +216,7 @@ function handleGetDraftListUpdatePageSize(pageSize: number) {
v-model="searchQuery" v-model="searchQuery"
type="text" type="text"
class="mx-[11px] w-[183px] border-none outline-none" class="mx-[11px] w-[183px] border-none outline-none"
placeholder="請輸入名稱進行索" placeholder="請輸入名稱進行索"
@keyup.enter="handleSearchDraftList" @keyup.enter="handleSearchDraftList"
/> />
<CloseOne <CloseOne
......
...@@ -224,7 +224,7 @@ function handleGetTaskListUpdatePageSize(pageSize: number) { ...@@ -224,7 +224,7 @@ function handleGetTaskListUpdatePageSize(pageSize: number) {
v-model="searchQuery" v-model="searchQuery"
type="text" type="text"
class="mx-[11px] w-[183px] border-none outline-none" class="mx-[11px] w-[183px] border-none outline-none"
placeholder="請輸入名稱進行索" placeholder="請輸入名稱進行索"
@keyup.enter="handleSearchVideoWorkList" @keyup.enter="handleSearchVideoWorkList"
/> />
<CloseOne <CloseOne
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment