mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
unwrapInjectedRef warning fix
This commit is contained in:
parent
790126cee0
commit
a6e365d432
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
import { markRaw } from 'vue';
|
|
||||||
import { PrimeVueDialogSymbol } from 'primevue/usedialog';
|
|
||||||
import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus';
|
import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus';
|
||||||
|
import { PrimeVueDialogSymbol } from 'primevue/usedialog';
|
||||||
|
import { markRaw } from 'vue';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
install: (app) => {
|
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.config.globalProperties.$dialog = DialogService;
|
||||||
app.provide(PrimeVueDialogSymbol, DialogService);
|
app.provide(PrimeVueDialogSymbol, DialogService);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue