mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-15 17:31:18 +08:00
fix(amis-saas-8251): static默认值公式改用多行文本交互
Change-Id: I319f2f3a03e09170806248b1b44cc6fea0330c65
This commit is contained in:
parent
ffd9cd151c
commit
2f6c122466
@ -57,10 +57,9 @@ export class StaticControlPlugin extends BasePlugin {
|
||||
}),
|
||||
getSchemaTpl('label'),
|
||||
// getSchemaTpl('value'),
|
||||
/*
|
||||
getSchemaTpl('valueFormula', {
|
||||
name: 'tpl',
|
||||
// TODO: 因为 formulaControl 未适配 static 这类特殊组件,暂不传递 rendererSchema属性,让其内部先使用 InputBox
|
||||
// 待后续 formulaControl 优化之后再重新调整适配
|
||||
// rendererSchema: {
|
||||
// ...context?.schema,
|
||||
// type: 'textarea', // 改用多行文本编辑
|
||||
@ -68,6 +67,13 @@ export class StaticControlPlugin extends BasePlugin {
|
||||
// },
|
||||
mode: 'vertical' // 改成上下展示模式
|
||||
}),
|
||||
*/
|
||||
{
|
||||
type: 'ae-textareaFormulaControl',
|
||||
label: '默认值',
|
||||
name: 'tpl',
|
||||
mode: 'normal'
|
||||
},
|
||||
getSchemaTpl('switch', {
|
||||
name: 'quickEdit',
|
||||
label: '可快速编辑',
|
||||
|
Loading…
Reference in New Issue
Block a user