File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/dialtone-vue/directives/tooltip_directive Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export const DtTooltipDirective = {
77 name : 'dt-tooltip-directive' ,
88 install ( app ) {
99 const DEFAULT_PLACEMENT = 'top' ;
10- if ( ! global . __DtTooltipDirectiveAppInstance ) {
10+ if ( ! globalThis . __DtTooltipDirectiveAppInstance ) {
1111 const DtTooltipDirectiveApp = createApp ( {
1212 name : 'DtTooltipDirectiveApp' ,
1313 components : { DtTooltip } ,
@@ -18,7 +18,7 @@ export const DtTooltipDirective = {
1818 } ,
1919
2020 created ( ) {
21- global . __DtTooltipDirectiveAppInstance = getCurrentInstance ( ) ;
21+ globalThis . __DtTooltipDirectiveAppInstance = getCurrentInstance ( ) ;
2222 } ,
2323
2424 methods : {
@@ -61,7 +61,7 @@ export const DtTooltipDirective = {
6161 DtTooltipDirectiveApp . mount ( mountPoint ) ;
6262 }
6363
64- const tooltipInstance = global . __DtTooltipDirectiveAppInstance ;
64+ const tooltipInstance = globalThis . __DtTooltipDirectiveAppInstance ;
6565
6666 app . directive ( 'dt-tooltip' , {
6767 beforeMount ( anchor , binding ) {
You can’t perform that action at this time.
0 commit comments