Commit d8b722ff authored by zhengke's avatar zhengke

优化上传图

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