Skip to content

Commit

Permalink
fix inspectDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jun 16, 2017
1 parent 09e6361 commit a3b0aea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devtools/views/components/ComponentInspector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default {
if (!this.hasTarget) return
if (isChrome) {
chrome.devtools.inspectedWindow.eval(
`inspect(window.__VUE_DEVTOOLS_INSTANCE_MAP__.get(${this.target.id}).$el)`
`inspect(window.__VUE_DEVTOOLS_INSTANCE_MAP__.get("${this.target.id}").$el)`
)
} else {
window.alert('DOM inspection is not supported in this shell.')
Expand Down

0 comments on commit a3b0aea

Please sign in to comment.