mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-03-16 22:10:27 +00:00
Fix default theme not applying
This commit is contained in:
parent
9970988656
commit
da0e90a77e
1 changed files with 1 additions and 3 deletions
|
|
@ -36,8 +36,6 @@ export default {
|
|||
beforeMount() {
|
||||
const localTheme = this.mdTheme;
|
||||
|
||||
if (localTheme) {
|
||||
this.$material.useTheme(localTheme);
|
||||
}
|
||||
this.$material.useTheme(localTheme ? localTheme : 'default');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue