🐛 Fix Electron support
parent
8891ad07a6
commit
7ee2b48ea4
2
app.js
2
app.js
|
@ -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];
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue