import { AppFormBase } from '@ibizstudio-ex/template-vue'; import { Util } from '@ibizstudio-ex/runtime'; import './multi-selector-form-item.less'; /** * 复合选择器表单项(复合表单项)插件类 * * @export * @class MultiSelectorFormItem * @extends {Vue} */ export class MultiSelectorFormItem extends AppFormBase { renderCtrlItem(h: any, modelJson: any, context: any, param: any) { const _this = context; const editor = modelJson.getPSEditor(); const tag = []; if (modelJson.getPSDEFormItems().length > 0) { modelJson.getPSDEFormItems().forEach((item: any) => { if (item.userTag) { tag.push(item.userTag); } }); } return (
0 ? 'flex' : 'none', }} > {modelJson.getPSDEFormItems().map((item: any) => (
{item.userTag}
))}
{ _this.onFormItemValueChange(value); }} controlInstance={_this.controlInstance} > {editor && ( { _this.onFormItemValueChange(value); }} /> )}
); } }