diff --git a/src/common/action-toolbar/action-toolbar.tsx b/src/common/action-toolbar/action-toolbar.tsx index 7c748e88bf0a9b37407c414a92adc7c06511b074..2804925b27c76d06d4170f5869c4cb01c2dd3057 100644 --- a/src/common/action-toolbar/action-toolbar.tsx +++ b/src/common/action-toolbar/action-toolbar.tsx @@ -142,7 +142,7 @@ export const IBizActionToolbar = defineComponent({ onClick={(e: MouseEvent): Promise => this.handleClick(detail, e) } - title={detail.tooltip} + title={!ibiz.env.enableTitle ? detail.tooltip : undefined} disabled={this.actionsState[detail.id!].disabled} class={this.calcActionItemClass(detail)} > diff --git a/src/common/custom-theme/custom-theme.tsx b/src/common/custom-theme/custom-theme.tsx index 6fb07e255b77d1d753b06dfe00263c1984da9e59..f08cdc061d762b6fe253dbd0b57a55688813833a 100644 --- a/src/common/custom-theme/custom-theme.tsx +++ b/src/common/custom-theme/custom-theme.tsx @@ -163,9 +163,13 @@ export const CustomTheme = defineComponent({ return ( { handleThemeChange(item.codeName); }} diff --git a/src/common/data-import2/data-import2.tsx b/src/common/data-import2/data-import2.tsx index b87babb0490d34aa1a3b1ef650d8f2eb309840c7..dbe619645239afef38cdbb14d8ec1b0e9f7d0a96 100644 --- a/src/common/data-import2/data-import2.tsx +++ b/src/common/data-import2/data-import2.tsx @@ -572,11 +572,14 @@ export const DataImport2 = defineComponent({ onClick={this.onButtonImportClick} disabled={!this.selectValues.join('')} title={ - !this.selectValues.join('') - ? ibiz.i18n.t( - 'component.dataImport2.selectProperties', - ) - : '' + // eslint-disable-next-line no-nested-ternary + !ibiz.env.enableTitle + ? !this.selectValues.join('') + ? ibiz.i18n.t( + 'component.dataImport2.selectProperties', + ) + : '' + : undefined } > {ibiz.i18n.t('component.dataImport2.import')} diff --git a/src/control/context-menu/context-menu.tsx b/src/control/context-menu/context-menu.tsx index 4b95397e9614c40b441d19de24ecc55367bcdde7..5fb8147c5a9ca547572dee4f27ce9a4cc2865d3d 100644 --- a/src/control/context-menu/context-menu.tsx +++ b/src/control/context-menu/context-menu.tsx @@ -194,7 +194,7 @@ export const ContextMenuControl = defineComponent({ onClick={(e: MouseEvent): Promise => this.handleClick(detail, e) } - title={detail.tooltip} + title={!ibiz.env.enableTitle ? detail.tooltip : undefined} disabled={this.c.state.buttonsState[detail.id!].disabled} class={this.calcActionItemClass(detail)} > @@ -234,7 +234,9 @@ export const ContextMenuControl = defineComponent({ onClick={(e: MouseEvent): Promise => this.handleClick(detail, e) } - title={detail.tooltip} + title={ + !ibiz.env.forbiddenTitle ? detail.tooltip : undefined + } disabled={this.c.state.buttonsState[detail.id!].disabled} class={this.calcActionItemClass(detail)} > diff --git a/src/control/dashboard/custom-dashboard-container/custom-dashboard-container.tsx b/src/control/dashboard/custom-dashboard-container/custom-dashboard-container.tsx index d425a4987a20098cd5d1caf780199aa87ed9185f..1538514eff3f187c58710f926d76d0f215813c72 100644 --- a/src/control/dashboard/custom-dashboard-container/custom-dashboard-container.tsx +++ b/src/control/dashboard/custom-dashboard-container/custom-dashboard-container.tsx @@ -172,9 +172,13 @@ export const CustomDashboardContainer = defineComponent({
diff --git a/src/control/form/form-detail/form-button/form-button.tsx b/src/control/form/form-detail/form-button/form-button.tsx index 1cc788e76a57b0a3429da0d18b1079a06a96ba14..f6ef99b677d2e857fd109fe0244fe8d4d4967580 100644 --- a/src/control/form/form-detail/form-button/form-button.tsx +++ b/src/control/form/form-detail/form-button/form-button.tsx @@ -49,7 +49,7 @@ export const FormButton = defineComponent({ onClick={this.controller.onClick.bind(this.controller)} loading={this.controller.state.loading} disabled={this.controller.state.disabled} - title={this.modelData.tooltip} + title={!ibiz.env.enableTitle ? this.modelData.tooltip : undefined} >
@@ -211,7 +215,11 @@ export const SearchBarControl = defineComponent({ this.triggerFilter()} > diff --git a/src/control/toolbar/export-excel/export-excel.tsx b/src/control/toolbar/export-excel/export-excel.tsx index 95814c909dce39b3b1c924e65f5fc8a1e5e40afc..277f78e6453f85c3eaacc99ea7f65578b24fb8a3 100644 --- a/src/control/toolbar/export-excel/export-excel.tsx +++ b/src/control/toolbar/export-excel/export-excel.tsx @@ -55,7 +55,7 @@ export const IBizExportExcel = defineComponent({ title: () => { return ( @@ -153,7 +153,7 @@ export const IBizExportExcel = defineComponent({ default: (): VNode => { return ( diff --git a/src/control/toolbar/short-cut-button/short-cut-button.tsx b/src/control/toolbar/short-cut-button/short-cut-button.tsx index eb280fb956de9548086ea3cc5d9ee4616219a1cd..0ee0fa4d2041c4f35fd94f568d98113b9fd46652 100644 --- a/src/control/toolbar/short-cut-button/short-cut-button.tsx +++ b/src/control/toolbar/short-cut-button/short-cut-button.tsx @@ -48,9 +48,12 @@ export const IBizShortCutButton = defineComponent({
=> handleClick(button, e)} > @@ -315,7 +315,7 @@ export const ToolbarControl = defineComponent({ ]} > this.triggerFilter()} > diff --git a/src/panel-component/panel-button/panel-button.tsx b/src/panel-component/panel-button/panel-button.tsx index be8930b0757a3508931d932b4cc2458b01d00d7d..ab42e414937d62a80d312d6728798c1cc4d2a6b1 100644 --- a/src/panel-component/panel-button/panel-button.tsx +++ b/src/panel-component/panel-button/panel-button.tsx @@ -115,7 +115,7 @@ export const PanelButton = defineComponent({ {