优化
This commit is contained in:
@@ -7,6 +7,7 @@ import { debounce } from 'lodash'
|
||||
import type { IProcessInfo } from '@/core/process/IProcessInfo.ts'
|
||||
import { eventManager } from '@/core/events/EventManager.ts'
|
||||
import { processManager } from '@/core/process/ProcessManager.ts'
|
||||
import './ui/DesktopElement.ts'
|
||||
|
||||
export class DesktopProcess extends ProcessImpl {
|
||||
private _desktopRootDom: HTMLElement;
|
||||
@@ -91,6 +92,13 @@ export class DesktopProcess extends ProcessImpl {
|
||||
app.use(naiveUi)
|
||||
app.mount(dom)
|
||||
|
||||
// this.initDesktop(dom)
|
||||
|
||||
this._isMounted = true
|
||||
}
|
||||
|
||||
private initDesktop(dom: HTMLDivElement) {
|
||||
const d = document.createElement('desktop-element')
|
||||
dom.appendChild(d)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user