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'
55
66const { modalsContainers, dynamicModals } = useVfm ()
77
8- const uid = Symbol (' ModalsContainer' )
8+ const uid = Symbol (__DEV__ ? ' ModalsContainer' : ' ' )
99const shouldMount = computed (() => uid === modalsContainers .value ?.[0 ])
1010
1111modalsContainers .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
5454 */
5555export function useModal < T extends ComponentType = typeof VueFinalModal > ( _options : UseModalOptions < T > ) : UseModalReturnType < T > {
5656 const options = reactive ( {
57- id : Symbol ( 'useModal' ) ,
57+ id : Symbol ( __DEV__ ? 'useModal' : ' ') ,
5858 modelValue : ! ! _options ?. defaultModelValue ,
5959 resolveOpened : ( ) => { } ,
6060 resolveClosed : ( ) => { } ,
You can’t perform that action at this time.
0 commit comments