unwrapInjectedRef warning fix
parent
790126cee0
commit
a6e365d432
|
@ -1,6 +1,6 @@
|
|||
import { markRaw } from 'vue';
|
||||
import { PrimeVueDialogSymbol } from 'primevue/usedialog';
|
||||
import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus';
|
||||
import { PrimeVueDialogSymbol } from 'primevue/usedialog';
|
||||
import { markRaw } from 'vue';
|
||||
|
||||
export default {
|
||||
install: (app) => {
|
||||
|
@ -21,7 +21,7 @@ export default {
|
|||
}
|
||||
};
|
||||
|
||||
app.config.unwrapInjectedRef = true; // Remove it after Vue 3.3. Details: https://vuejs.org/guide/components/provide-inject.html#working-with-reactivity
|
||||
// app.config.unwrapInjectedRef = true; // Remove it after Vue 3.3. Details: https://vuejs.org/guide/components/provide-inject.html#working-with-reactivity
|
||||
app.config.globalProperties.$dialog = DialogService;
|
||||
app.provide(PrimeVueDialogSymbol, DialogService);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue