Browse Source

Pull request #1605: BI-76296 【体验】tooltip最大高度450px超出截断

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit 'a9cdc42dfa6af91862f6ec14cc889005df07b3ae':
  无JIRA任务 BI.config(widget)有问题
  update
  BI-76296 tooltip最多显示25行超出截断
es6
windy 4 years ago
parent
commit
aeec443040
  1. 1
      changelog.md
  2. 5
      src/core/inject.js
  3. 5
      src/core/shortcut.js
  4. 2
      src/less/base/single/tip/tip.tooltip.less

1
changelog.md

@ -1,5 +1,6 @@
# 更新日志
2.0(2020-11)
- 限制了title的最大高度
- bi.textarea_editor添加setWatermark方法
- 生命周期可以通过属性传递来操作
- 修复了颜色选择器hex框不能输入为空的问题

5
src/core/inject.js

@ -56,9 +56,12 @@
};
BI.Configs = BI.Configs || {
getConfigs: function () {
return configFunctions;
},
getConfig: function (type) {
return configFunctions[type];
}
},
};
var actions = {};

5
src/core/shortcut.js

@ -35,10 +35,11 @@
function configWidget (type) {
var configFunctions = BI.Configs.getConfig(type);
if (configFunctions) {
BI.each(configFunctions[type], function (i, cf) {
BI.each(configFunctions, function (i, cf) {
BI.Plugin.configWidget(type, cf.fn, cf.args);
});
configFunctions[type] && (configFunctions[type] = null);
var configs = BI.Configs.getConfigs();
configs[type] && (configs[type] = null);
}
}

2
src/less/base/single/tip/tip.tooltip.less

@ -2,6 +2,8 @@
.bi-tooltip{
max-width: 250px;
max-height: 450px;
.overflow-hidden() !important;
.border-radius(2px);
font-size: 12px;
color: @color-bi-text;

Loading…
Cancel
Save