mirror of
https://gitee.com/newgateway/vtj.git
synced 2026-05-07 01:10:03 +08:00
refactor: ♻️ 重构devtools
This commit is contained in:
@@ -34,8 +34,8 @@ export class DevTools {
|
||||
private async loadScripts(window: Window, onload: () => void) {
|
||||
const project = this.engine?.project.value;
|
||||
const { __BASE_PATH__ = '/' } = project || {};
|
||||
// const host = '';
|
||||
const host = 'http://localhost:9527';
|
||||
const host = '';
|
||||
// const host = 'http://localhost:9527';
|
||||
const now = Date.now();
|
||||
const devtoolsPath = `${host}${__BASE_PATH__}${VUE_DEVTOOLS_PATH}?t=${now}`;
|
||||
if (this.enabled === undefined) {
|
||||
|
||||
Reference in New Issue
Block a user