全部用静态导入

This commit is contained in:
zqm
2025-12-25 13:53:52 +08:00
parent 8c8ce2f8ce
commit 81dba291f9
15 changed files with 244 additions and 241 deletions

View File

@@ -113,12 +113,12 @@
<script setup>
import { defineProps, onMounted, onUnmounted } from 'vue';
import {
import {
eventBus,
EVENT_TYPES,
emitEvent,
onEvent
} from './eventBus.js';
onEvent
} from './eventBus';
// 定义组件属性
const props = defineProps({
@@ -566,9 +566,6 @@ onMounted(() => {
// 设置事件监听器
setupEventListeners()
// 设置拖拽相关事件监听器
addDocumentDragListeners()
// 更新活动状态
if (window.__panelMemoryProtection) {
window.__panelMemoryProtection.updateActivity(`panel_${props.id}`)