fix(组件:微信视频号): 出现多个视频号组件时,从第二个开始无法拖拽排序

This commit is contained in:
2026-01-20 15:09:33 +08:00
parent 2eebed47f7
commit fd40367741

View File

@@ -483,7 +483,7 @@ Vue.component("wechat_channel-edit", {
initSortable: function () {
// 检查Sortable库是否已加载
if (typeof Sortable !== 'undefined') {
const videoList = document.getElementById('videoListEdit');
const videoList = this.$el.querySelector('.video-list-edit');
if (videoList) {
// 销毁现有实例
if (this.sortableInstance) {