mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
Refactor #3965 - Refactor on responsive components
This commit is contained in:
parent
6693602ca3
commit
dfcbf5152a
9 changed files with 13 additions and 13 deletions
|
@ -22,10 +22,10 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import BaseToast from './BaseToast.vue';
|
||||
import Portal from 'primevue/portal';
|
||||
import ToastEventBus from 'primevue/toasteventbus';
|
||||
import { ObjectUtils, UniqueComponentId, ZIndexUtils } from 'primevue/utils';
|
||||
import BaseToast from './BaseToast.vue';
|
||||
import ToastMessage from './ToastMessage.vue';
|
||||
|
||||
var messageIdx = 0;
|
||||
|
@ -111,7 +111,7 @@ export default {
|
|||
}
|
||||
},
|
||||
createStyle() {
|
||||
if (!this.styleElement) {
|
||||
if (!this.styleElement && !this.isUnstyled) {
|
||||
this.styleElement = document.createElement('style');
|
||||
this.styleElement.type = 'text/css';
|
||||
document.head.appendChild(this.styleElement);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue