全部用静态导入
This commit is contained in:
@@ -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}`)
|
||||
|
||||
Reference in New Issue
Block a user