mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:48:55 +08:00
refactor: 合并import
This commit is contained in:
parent
9da3b1570b
commit
870d6bd7f9
@ -2,15 +2,16 @@ import React from 'react';
|
||||
import cx from 'classnames';
|
||||
import {Tree as TreeSelector} from 'amis-ui';
|
||||
import {
|
||||
FormOptionsControl,
|
||||
OptionsControl,
|
||||
OptionsControlProps
|
||||
OptionsControlProps,
|
||||
autobind,
|
||||
createObject,
|
||||
ActionObject,
|
||||
isPureVariable,
|
||||
resolveVariableAndFilter
|
||||
} from 'amis-core';
|
||||
import {Spinner} from 'amis-ui';
|
||||
import {FormOptionsSchema, SchemaApi} from '../../Schema';
|
||||
import {autobind, createObject} from 'amis-core';
|
||||
import {ActionObject} from 'amis-core';
|
||||
import {isPureVariable, resolveVariable} from 'amis-core';
|
||||
|
||||
/**
|
||||
* Tree 下拉选择框。
|
||||
@ -219,7 +220,7 @@ export default class TreeControl extends React.Component<TreeProps> {
|
||||
let {highlightTxt} = this.props;
|
||||
|
||||
if (isPureVariable(highlightTxt)) {
|
||||
highlightTxt = resolveVariable(highlightTxt, data);
|
||||
highlightTxt = resolveVariableAndFilter(highlightTxt, data);
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user