File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/devtools/views/components Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import { set , nextTick } from 'vue'
1
+ import Vue from 'vue'
2
2
3
3
const state = {
4
4
selected : null ,
@@ -17,7 +17,7 @@ const mutations = {
17
17
state . instances = Object . freeze ( payload . instances )
18
18
state . inspectedInstance = Object . freeze ( payload . inspectedInstance )
19
19
if ( process . env . NODE_ENV !== 'production' ) {
20
- nextTick ( ( ) => {
20
+ Vue . nextTick ( ( ) => {
21
21
console . log ( `devtools render took ${ window . performance . now ( ) - start } ms.` )
22
22
} )
23
23
}
@@ -26,7 +26,7 @@ const mutations = {
26
26
state . inspectedInstance = Object . freeze ( instance )
27
27
} ,
28
28
TOGGLE_INSTANCE ( { expansionMap } , { id, expanded } ) {
29
- set ( expansionMap , id , expanded )
29
+ Vue . set ( expansionMap , id , expanded )
30
30
}
31
31
}
32
32
You can’t perform that action at this time.
0 commit comments