Commit 51723ba7 authored by zhengke's avatar zhengke

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

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