mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 19:08:45 +08:00
chart renderItem
This commit is contained in:
parent
a23e953430
commit
045c2d220c
@ -126,7 +126,7 @@ const EVAL_CACHE: {[key: string]: Function} = {};
|
||||
* @param config ECharts 配置
|
||||
*/
|
||||
function recoverFunctionType(config: object) {
|
||||
['formatter', 'sort'].forEach((key: string) => {
|
||||
['formatter', 'sort', 'renderItem'].forEach((key: string) => {
|
||||
const objects = findObjectsWithKey(config, key);
|
||||
for (const object of objects) {
|
||||
const code = object[key];
|
||||
|
Loading…
Reference in New Issue
Block a user