Forráskód Böngészése

fix:选择组件添加主题配置

liu.shiyi 1 éve
szülő
commit
a1ac5ec06e

+ 1 - 0
data-room-ui/packages/BasicComponents/Select/index.vue

@@ -123,6 +123,7 @@ export default {
       return config
     },
     changeStyle (config) {
+      config = { ...this.config, ...config }
       // 样式改变时更新主题配置
       config.theme = settingToTheme(cloneDeep(config), this.customTheme)
       this.changeChartConfig(config)