releases 3.8.18

This commit is contained in:
xuliangzhan
2024-08-07 22:22:28 +08:00
parent e51c95f5cf
commit 3b2bb6f44b
2 changed files with 30 additions and 28 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "vxe-table",
"version": "3.8.17",
"version": "3.8.18",
"description": "一个基于 vue 的 PC 端表单/表格组件支持增删改查、虚拟树、列拖拽懒加载、快捷菜单、数据校验、树形结构、打印导出、自定义模板、渲染器、JSON 配置式...",
"scripts": {
"update": "npm install --legacy-peer-deps",

View File

@@ -1258,33 +1258,35 @@ export default {
ctxMenuOpts
}
}) : _e(),
/**
* 通用提示
*/
hasTip ? h('vxe-tooltip', {
ref: 'commTip',
props: {
isArrow: false,
enterable: false
}
}) : _e(),
/**
* 工具提示
*/
hasTip ? h('vxe-tooltip', {
ref: 'tooltip',
props: Object.assign({}, this.tipConfig, this.tooltipStore.currOpts)
}) : _e(),
/**
* 校验提示
*/
hasTip && this.editRules && validOpts.showMessage && (validOpts.message === 'default' ? !height : validOpts.message === 'tooltip') ? h('vxe-tooltip', {
ref: 'validTip',
class: [{
'old-cell-valid': editRules && GlobalConfig.cellVaildMode === 'obsolete'
}, 'vxe-table--valid-error'],
props: validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : null
}) : _e()
h('div', {}, [
/**
* 通用提示
*/
hasTip ? h('vxe-tooltip', {
ref: 'commTip',
props: {
isArrow: false,
enterable: false
}
}) : _e(),
/**
* 工具提示
*/
hasTip ? h('vxe-tooltip', {
ref: 'tooltip',
props: Object.assign({}, this.tipConfig, this.tooltipStore.currOpts)
}) : _e(),
/**
* 校验提示
*/
hasTip && this.editRules && validOpts.showMessage && (validOpts.message === 'default' ? !height : validOpts.message === 'tooltip') ? h('vxe-tooltip', {
ref: 'validTip',
class: [{
'old-cell-valid': editRules && GlobalConfig.cellVaildMode === 'obsolete'
}, 'vxe-table--valid-error'],
props: validOpts.message === 'tooltip' || tableData.length === 1 ? validTipOpts : null
}) : _e()
])
])
},
methods