diff --git a/public/index.html b/public/index.html index 07e97b3..09c18f8 100644 --- a/public/index.html +++ b/public/index.html @@ -7,7 +7,7 @@ Vcd Viewer - + diff --git a/public/ondark.css b/public/onedark.css similarity index 100% rename from public/ondark.css rename to public/onedark.css diff --git a/public/test.vcd.view b/public/test.vcd.view index 7bc5a6e..ce9bdcb 100644 Binary files a/public/test.vcd.view and b/public/test.vcd.view differ diff --git a/src/App.vue b/src/App.vue index 0086e4e..cdafb1d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -142,7 +142,6 @@ onMounted(async () => { // 根据 recoverConfig 完成现场回复 recoverSession(VcdInfo.topModules); - console.log(VcdInfo.topModules); }); }); diff --git a/src/api/index.js b/src/api/index.js index a5b4e01..6cd68fc 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -17,8 +17,8 @@ export async function saveView(file, payload) { } if (mode === 'debug') { const res = await axios.post('http://localhost:3000/save-view', { file, payload }); + // const res = await axios.get('http://localhost:3000'); console.log(res); - } else { vscode.postMessage({ command: 'save-view', @@ -27,4 +27,4 @@ export async function saveView(file, payload) { } } -export const saveViewApi = debounceWrapper(saveView, 2000); \ No newline at end of file +export const saveViewApi = debounceWrapper(saveView, 1000); \ No newline at end of file diff --git a/src/components/toolbar/signal-modal.vue b/src/components/toolbar/signal-modal.vue index 0fe72d3..b4d0a35 100644 --- a/src/components/toolbar/signal-modal.vue +++ b/src/components/toolbar/signal-modal.vue @@ -41,7 +41,9 @@