|
|
@ -33,7 +33,7 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<span @click="fetchNotice" class="header-notice"> |
|
|
|
<span @click="fetchNotice" class="header-notice"> |
|
|
|
<a-badge count="12"> |
|
|
|
<a-badge count="12"> |
|
|
|
<a-icon :class="['header-notice-icon', theme]" type="bell" /> |
|
|
|
<a-icon :class="['header-notice-icon', headerTheme]" type="bell" /> |
|
|
|
</a-badge> |
|
|
|
</a-badge> |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</a-dropdown> |
|
|
|
</a-dropdown> |
|
|
@ -50,7 +50,7 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
computed: { |
|
|
|
...mapState('setting', ['layout', 'theme']), |
|
|
|
...mapState('setting', ['layout', 'theme']), |
|
|
|
theme() { |
|
|
|
headerTheme() { |
|
|
|
return this.layout == 'side' ? 'light' : this.theme |
|
|
|
return this.layout == 'side' ? 'light' : this.theme |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|