Commit d0a98947 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

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

See merge request !8
parents ae2303a8 5627f119
......@@ -94,7 +94,10 @@ async function uploadImage(event: any) {
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) {
getBackgroundImageList()
......@@ -179,7 +182,7 @@ function handleUpdateBackgroundImageType(backgroundImageType: string) {
>
<img class="h-full w-full object-contain" :src="image.imageUrl" @load="onImageLoaded(index)" />
<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 }}
</div>
......@@ -212,7 +215,7 @@ function handleUpdateBackgroundImageType(backgroundImageType: string) {
>
<img class="h-full w-full object-contain" :src="image.imageUrl" @load="onImageLoaded(index)" />
<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 }}
</div>
......
......@@ -252,7 +252,7 @@ function handleGetDialogueListUpdatePageSize(pageSize: number) {
v-model="searchQuery"
type="text"
class="mx-[11px] w-[183px] border-none outline-none"
placeholder="請輸入名稱進行索"
placeholder="請輸入名稱進行索"
@keyup.enter="handleSearchDiaglogList"
/>
<CloseOne
......@@ -277,6 +277,7 @@ function handleGetDialogueListUpdatePageSize(pageSize: number) {
:row-key="(row: DiaglogueTableItem) => row.configId"
:scroll-x="1056"
:max-height="tableContentY"
:checked-row-keys="checkedConfigIdList"
@update:checked-row-keys="handleUpdateCheckedDialogueList"
>
<template #empty>
......
......@@ -216,7 +216,7 @@ function handleGetDraftListUpdatePageSize(pageSize: number) {
v-model="searchQuery"
type="text"
class="mx-[11px] w-[183px] border-none outline-none"
placeholder="請輸入名稱進行索"
placeholder="請輸入名稱進行索"
@keyup.enter="handleSearchDraftList"
/>
<CloseOne
......
......@@ -224,7 +224,7 @@ function handleGetTaskListUpdatePageSize(pageSize: number) {
v-model="searchQuery"
type="text"
class="mx-[11px] w-[183px] border-none outline-none"
placeholder="請輸入名稱進行索"
placeholder="請輸入名稱進行索"
@keyup.enter="handleSearchVideoWorkList"
/>
<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