File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ export default class BaseTree extends Vue {
153
153
return this .nodesByID [id ! ];
154
154
}
155
155
getElByID(id : string | number ): HTMLElement | undefined {
156
- return this .$el .querySelector (` [data-id=${id }] ` ) as HTMLElement ;
156
+ return this .$el .querySelector (` [data-id=" ${id }" ] ` ) as HTMLElement ;
157
157
}
158
158
getParent(node ? : Node ) {
159
159
if (! node ) {
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ export default defineComponent({
176
176
return this .nodesByID [id ! ];
177
177
},
178
178
getElByID(id : string | number ): HTMLElement | undefined {
179
- return this .$el .querySelector (` [data-id=${id }] ` ) as HTMLElement ;
179
+ return this .$el .querySelector (` [data-id=" ${id }" ] ` ) as HTMLElement ;
180
180
},
181
181
getParent(node ? : Node ) {
182
182
if (! node ) {
You can’t perform that action at this time.
0 commit comments