Commit 51723ba7 authored by zhengke's avatar zhengke

修复 绑定页面类型数据 移动模版重新排序

parent 3fd59c74
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<template #default="scope"> <template #default="scope">
<div class="row items-center CloudDisk-R-Img"> <div class="row items-center CloudDisk-R-Img">
<el-image <el-image
class="cursor-pointer row items-center" class="cursor-pointer row items-center flex-center"
style="width: 50px; height: auto" style="width: 50px; height: auto"
:src="scope.row.FilePath" :src="scope.row.FilePath"
:preview-src-list="[]" :preview-src-list="[]"
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
@click.stop="getImg(scope.row,scope.$index)" @click.stop="getImg(scope.row,scope.$index)"
> >
<template #error> <template #error>
<el-image :src="errImg"></el-image> <div class="row items-center flex-center" style="height: 100%;">
<el-image :src="errImg"></el-image>
</div>
</template> </template>
</el-image> </el-image>
<div class="cloudDownName microsoft q-pl-md"> <div class="cloudDownName microsoft q-pl-md">
......
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
<!-- 关注 --> <!-- 关注 -->
<follow v-show="isPublicAccount" :show="isPublicAccount" @close="isPublicAccount=false" <follow v-show="isPublicAccount" :show="isPublicAccount" @close="isPublicAccount=false"
@success="isPublicAccount=false,getInfo()"></follow> @success="isPublicAccount=false,getInfo()"></follow>
<!-- 到期提示 -->
<InsufficientDate v-if="EndDays<30&&EndDays>0&&!userInfo.OffEndDaysTisp" @close="closeEndDays"></InsufficientDate> <InsufficientDate v-if="EndDays<30&&EndDays>0&&!userInfo.OffEndDaysTisp" @close="closeEndDays"></InsufficientDate>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
......
...@@ -153,10 +153,8 @@ export default () => { ...@@ -153,10 +153,8 @@ export default () => {
}else{ }else{
_slides.splice(oldIndex, 1) _slides.splice(oldIndex, 1)
slidesStore.setSlides(_slides) slidesStore.setSlides(_slides)
setTimeout(()=>{ _slides.splice(newIndex, 0, _slide)
_slides.splice(newIndex, 0, _slide) slidesStore.setSlides(_slides)
slidesStore.setSlides(_slides)
},300)
} }
slidesStore.updateSlideIndex(newIndex) slidesStore.updateSlideIndex(newIndex)
} }
......
...@@ -138,7 +138,7 @@ export const useSlidesStore = defineStore('slides', { ...@@ -138,7 +138,7 @@ export const useSlidesStore = defineStore('slides', {
}, },
setSlides(slides: Slide[]) { setSlides(slides: Slide[]) {
this.slideIndex = 0 // this.slideIndex = 0
this.slides = slides this.slides = slides
this.thumbnails = [] this.thumbnails = []
this.setFonts(slides) this.setFonts(slides)
......
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