mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Update BaseComponent.vue
This commit is contained in:
parent
f641de401d
commit
0ce4b3a229
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ export default {
|
|||
immediate: true,
|
||||
handler(newValue, oldValue) {
|
||||
if (newValue && newValue !== oldValue) {
|
||||
const { variables } = newValue;
|
||||
const { colorScheme, ...vRest } = variables || {};
|
||||
const { colorScheme, ...vRest } = newValue;
|
||||
const { dark, ...csRest } = colorScheme || {};
|
||||
const vRest_css = ObjectUtils.isNotEmpty(vRest) ? toVariables({ [this.$style.name]: vRest }).css : '';
|
||||
const csRest_css = ObjectUtils.isNotEmpty(csRest) ? toVariables({ [this.$style.name]: csRest }).css : '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue