fix(amis-saas-8251): 修复static默认值不生效问题

Change-Id: I3e82a3face3a1ec81bce9ad50f6f5bc9afdab056
This commit is contained in:
wibetter 2022-11-28 19:37:34 +08:00
parent 8ce95bfbf0
commit ffd9cd151c

View File

@ -58,6 +58,7 @@ export class StaticControlPlugin extends BasePlugin {
getSchemaTpl('label'),
// getSchemaTpl('value'),
getSchemaTpl('valueFormula', {
name: 'tpl',
// TODO: 因为 formulaControl 未适配 static 这类特殊组件,暂不传递 rendererSchema属性让其内部先使用 InputBox
// 待后续 formulaControl 优化之后再重新调整适配
// rendererSchema: {