Skip to content

Commit

Permalink
fix(grid): fix error of grid component and fix huicharts being packag…
Browse files Browse the repository at this point in the history
…ed and excluded (#2994)
  • Loading branch information
zzcr authored Mar 3, 2025
1 parent 378e573 commit 67b9c48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 1 addition & 4 deletions internals/cli/src/shared/module-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ export interface Module {
* @returns 模块对象
*/
const getAllModules = (isSort: boolean) => {
const callback = (item) => {
return !item.path.split('/').includes('huicharts')
}
return getSortModules({ filterIntercept: callback, isSort })
return getSortModules({ filterIntercept: () => true, isSort })
}

/**
Expand Down
7 changes: 6 additions & 1 deletion packages/vue/src/grid/src/grid/grid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,12 @@ export default defineComponent({
const props = { ...tableProps, optimization: optimizOpt, startIndex: seqIndex }

// 初始化 tooltip 配置
props.tooltipConfig = Object.assign({}, GlobalConfig.tooltip || {}, designConfig.tooltip || {}, props.tooltipConfig || {})
props.tooltipConfig = Object.assign(
{},
GlobalConfig.tooltip || {},
designConfig?.tooltip || {},
props.tooltipConfig || {}
)

// 在用户没有配置stripe时读取design配置
if (designConfig?.stripe !== undefined && !props.stripe) {
Expand Down

0 comments on commit 67b9c48

Please sign in to comment.