mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
[amis-saas-10410] fix
Change-Id: Id7765278111e9f474497d8d14f88504388b16e11
This commit is contained in:
parent
187f6e2630
commit
4ff7ca9224
@ -111,7 +111,6 @@ setSchemaTpl(
|
||||
pipeOut: (v: string) => (v ? v : undefined)
|
||||
})
|
||||
);
|
||||
|
||||
setSchemaTpl('formulaControl', (schema: object = {}) => {
|
||||
return {
|
||||
type: 'ae-formulaControl',
|
||||
@ -384,25 +383,6 @@ setSchemaTpl('icon', {
|
||||
description: ''
|
||||
});
|
||||
|
||||
setSchemaTpl(
|
||||
'remark',
|
||||
remarkTpl({
|
||||
name: 'remark',
|
||||
label: '控件提示',
|
||||
labelRemark:
|
||||
'在输入控件旁展示提示,注意控件宽度需设置,否则提示触发图标将自动换行'
|
||||
})
|
||||
);
|
||||
|
||||
setSchemaTpl(
|
||||
'labelRemark',
|
||||
remarkTpl({
|
||||
name: 'labelRemark',
|
||||
label: '标题提示',
|
||||
labelRemark: '在标题旁展示提示'
|
||||
})
|
||||
);
|
||||
|
||||
setSchemaTpl(
|
||||
'valueFormula',
|
||||
(config?: {
|
||||
|
@ -1,5 +1,6 @@
|
||||
// 模板有点多,经量多拆些文件
|
||||
import './common';
|
||||
import './remark';
|
||||
import './horizontal';
|
||||
import './api';
|
||||
import './options';
|
||||
|
23
packages/amis-editor/src/tpl/remark.tsx
Normal file
23
packages/amis-editor/src/tpl/remark.tsx
Normal file
@ -0,0 +1,23 @@
|
||||
import {
|
||||
setSchemaTpl,
|
||||
} from 'amis-editor-core';
|
||||
import {remarkTpl} from '../component/BaseControl';
|
||||
|
||||
setSchemaTpl(
|
||||
'remark',
|
||||
remarkTpl({
|
||||
name: 'remark',
|
||||
label: '控件提示',
|
||||
labelRemark:
|
||||
'在输入控件旁展示提示,注意控件宽度需设置,否则提示触发图标将自动换行'
|
||||
})
|
||||
);
|
||||
|
||||
setSchemaTpl(
|
||||
'labelRemark',
|
||||
remarkTpl({
|
||||
name: 'labelRemark',
|
||||
label: '标题提示',
|
||||
labelRemark: '在标题旁展示提示'
|
||||
})
|
||||
);
|
Loading…
Reference in New Issue
Block a user