Просмотр исходного кода

为表达式添加换行计算选项,打开此选项后针对表达式生成的最终内容可进行自动换行计算

master
jacky6024 6 лет назад
Родитель
Сommit
d1b1174c85
  1. 14
      ureport2-console/src/main/resources/ureport-asserts/js/designer.bundle.js
  2. 6
      ureport2-js/src/panel/property/ExpressionValueEditor.js

14
ureport2-console/src/main/resources/ureport-asserts/js/designer.bundle.js

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

6
ureport2-js/src/panel/property/ExpressionValueEditor.js

@ -13,6 +13,7 @@ export default class ExpressionValueEditor extends BaseValueEditor{
this.context=context;
this.container=$(`<div></div>`);
parentContainer.append(this.container);
this._buildWrapCompute(this.container);
this._buildExpand();
this._buildFormat();
this._buildConditionProperty();
@ -107,6 +108,11 @@ export default class ExpressionValueEditor extends BaseValueEditor{
}else{
this.formatEditor.val('');
}
if(cellStyle.wrapCompute){
this.enableWrapComput.children('input').prop('checked',true);
}else{
this.disableWrapComput.children('input').prop('checked',true);
}
}
hide(){
this.container.hide();

Загрузка…
Отмена
Сохранить