🐛 Fix Electron support

master
KaKi87 2022-03-24 13:02:43 +01:00
parent 8891ad07a6
commit 7ee2b48ea4
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -6,7 +6,7 @@ export const createMyApp = ({ createApp }) => {
app.mixin({
'mounted': function(){
if(this.style && !document.adoptedStyleSheets.includes(this.style))
document.adoptedStyleSheets.push(this.style);
document.adoptedStyleSheets = [...document.adoptedStyleSheets, this.style];
}
});