File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ export default {
121
121
return ele === target ? true : this .isChildOf (ele .parentNode , target)
122
122
},
123
123
getTargetNode (e ) {
124
- const splitRE = / (. + )_ ([\d ] + )_ ([\d ] + )$ /
124
+ const splitRE = / (. + ): ([\d ] + ): ([\d ] + )$ /
125
125
const path = e .path ?? e .composedPath ()
126
126
const targetNode = path? .find (node => node? .hasAttribute ? .(' data-v-inspector-options' ))
127
127
if (this .isChildOf (targetNode, this .$refs .containerRef ) || ! targetNode) {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ export async function compileSFCTemplate(
33
33
const insertPosition = node . loc . start . offset + node . tag . length + 1
34
34
const { line, column } = node . loc . start
35
35
36
- const content = ` data-v-inspector-options="${ relativePath } _ ${ line } _ ${ column } "`
36
+ const content = ` data-v-inspector-options="${ relativePath } : ${ line } : ${ column } "`
37
37
38
38
s . prependLeft (
39
39
insertPosition ,
@@ -71,7 +71,7 @@ export async function compileSFCTemplate(
71
71
const insertPosition = node . start + parseJSXIdentifier ( node . openingElement . name as any ) . length + 1
72
72
const { line, column } = node . loc . start
73
73
74
- const content = ` data-v-inspector-options="${ relativePath } _ ${ line } _ ${ column } "`
74
+ const content = ` data-v-inspector-options="${ relativePath } : ${ line } : ${ column } "`
75
75
76
76
s . prependLeft (
77
77
insertPosition ,
You can’t perform that action at this time.
0 commit comments