Commit d8b722ff authored by zhengke's avatar zhengke

优化上传图

parent b47879fb
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<div class="q-mb-md"> <div class="q-mb-md">
<el-input v-model="datas.queryMsg.Name" <el-input v-model="datas.queryMsg.Name"
placeholder="输入关键字快速查找" clearable placeholder="输入关键字快速查找" clearable
class="input-with-select"> class="input-with-select" @keyup.enter="SearchHandler()">
<template #append> <template #append>
<el-button type="primary" @click="SearchHandler">搜索</el-button> <el-button type="primary" @click="SearchHandler">搜索</el-button>
</template> </template>
...@@ -232,6 +232,7 @@ const close = () =>{ ...@@ -232,6 +232,7 @@ const close = () =>{
imgReplaceVisibleStore.setImgReplaceVisible(false) imgReplaceVisibleStore.setImgReplaceVisible(false)
} }
const SearchHandler = async () => { const SearchHandler = async () => {
datas.imgList = []
datas.queryMsg.pageIndex = 1 datas.queryMsg.pageIndex = 1
await getImgList() await getImgList()
} }
......
...@@ -84,7 +84,7 @@ const { slides, currentSlide, viewportRatio } = storeToRefs(useSlidesStore()) ...@@ -84,7 +84,7 @@ const { slides, currentSlide, viewportRatio } = storeToRefs(useSlidesStore())
const pdfThumbnailsRef = ref<HTMLElement>() const pdfThumbnailsRef = ref<HTMLElement>()
const rangeType = ref<'all' | 'current'>('all') const rangeType = ref<'all' | 'current'>('all')
const count = ref(1) const count = ref(1)
const padding = ref(true) const padding = ref(false)
const expPDF = () => { const expPDF = () => {
if (!pdfThumbnailsRef.value) return if (!pdfThumbnailsRef.value) return
......
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