Skip to content

Commit a3b0aea

Browse files
committed
fix inspectDOM
1 parent 09e6361 commit a3b0aea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/devtools/views/components/ComponentInspector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export default {
6969
if (!this.hasTarget) return
7070
if (isChrome) {
7171
chrome.devtools.inspectedWindow.eval(
72-
`inspect(window.__VUE_DEVTOOLS_INSTANCE_MAP__.get(${this.target.id}).$el)`
72+
`inspect(window.__VUE_DEVTOOLS_INSTANCE_MAP__.get("${this.target.id}").$el)`
7373
)
7474
} else {
7575
window.alert('DOM inspection is not supported in this shell.')

0 commit comments

Comments
 (0)