File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/vue-final-modal/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { useVfm } from '~/useApi'
5
5
6
6
const { modalsContainers, dynamicModals } = useVfm ()
7
7
8
- const uid = Symbol (' ModalsContainer' )
8
+ const uid = Symbol (__DEV__ ? ' ModalsContainer' : ' ' )
9
9
const shouldMount = computed (() => uid === modalsContainers .value ?.[0 ])
10
10
11
11
modalsContainers .value .push (uid )
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ function withMarkRaw<T extends ComponentType>(options: Partial<UseModalOptions<T
54
54
*/
55
55
export function useModal < T extends ComponentType = typeof VueFinalModal > ( _options : UseModalOptions < T > ) : UseModalReturnType < T > {
56
56
const options = reactive ( {
57
- id : Symbol ( 'useModal' ) ,
57
+ id : Symbol ( __DEV__ ? 'useModal' : ' ') ,
58
58
modelValue : ! ! _options ?. defaultModelValue ,
59
59
resolveOpened : ( ) => { } ,
60
60
resolveClosed : ( ) => { } ,
You can’t perform that action at this time.
0 commit comments