2、删除未使用的依赖
@ -44,8 +44,6 @@
"rollup-plugin-visualizer": "^5.9.2",
"unplugin-vue-define-options": "^1.4.1",
"vite": "4.5.3",
"vite-plugin-cdn-import": "0.3.5",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-imagemin": "^0.6.1"
"vite-plugin-cdn-import": "0.3.5"
}
@ -58,7 +58,7 @@
"width": 720,
"height": 720
},
"poster":"a1.jpg",
"poster": "a1.jpg",
"height": 3840,
"width": 2160,
"ratio": "1080p",
@ -343,7 +343,7 @@
"poster":"a2.jpg",
"poster": "a2.jpg",
"height": 1920,
"width": 1080,
@ -916,7 +916,7 @@
"poster":"a3.jpg",
"poster": "a3.jpg",
"ratio": "720p",
@ -1166,7 +1166,7 @@
"poster":"a4.jpg",
"poster": "a4.jpg",
"height": 1080,
"width": 1920,
@ -1428,7 +1428,7 @@
"poster":"a5.jpg",
"poster": "a5.jpg",
@ -308,7 +308,7 @@ export default {
query: { id: this.item.id }
})
}else {
} else {
if (this.status === SlideItemPlayStatus.Play) {
this.pause()
@ -133,4 +133,4 @@ onUnmounted(() => {
bus.off(EVENT_KEY.SINGLE_CLICK, click)
bus.on(EVENT_KEY.UPDATE_ITEM, updateItem)
</script>