File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ import {
6565import { IconOptions , useDisplay , useTheme } from ' vuetify' ;
6666import { VNavigationDrawer } from ' vuetify/components' ;
6767import { AllProps } from ' @utils/props' ;
68+ import { componentName } from ' @utils/globals' ;
6869import {
6970 useGetStorage ,
7071 useSetStorage ,
@@ -138,6 +139,13 @@ if (settings.value.location !== 'start' && settings.value.location !== 'end' &&
138139 throw new Error (" [VResizeDrawer]: 'top' and 'bottom' locations are not supported." );
139140}
140141
142+ onBeforeMount (() => {
143+ console .log (componentName );
144+ if (settings .value .name === componentName ) {
145+ settings .value .name = String (Math .floor (Math .random () * (10000 * 10000 )));
146+ }
147+ });
148+
141149onMounted (() => {
142150 init ();
143151});
You can’t perform that action at this time.
0 commit comments