### What problem does this PR solve? feat: Add tip to loop of ExeSQL #1739 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@@ -163,13 +163,21 @@ export const operatorMap = {
|
||||
[Operator.Google]: {
|
||||
backgroundColor: 'pink',
|
||||
},
|
||||
[Operator.Bing]: {},
|
||||
[Operator.GoogleScholar]: {},
|
||||
[Operator.DeepL]: {},
|
||||
[Operator.GitHub]: {},
|
||||
[Operator.BaiduFanyi]: {},
|
||||
[Operator.QWeather]: {},
|
||||
[Operator.ExeSQL]: {},
|
||||
[Operator.Bing]: {
|
||||
backgroundColor: '#c0dcc4',
|
||||
},
|
||||
[Operator.GoogleScholar]: {
|
||||
backgroundColor: '#b4e4f6',
|
||||
},
|
||||
[Operator.DeepL]: {
|
||||
backgroundColor: '#f5e8e6',
|
||||
},
|
||||
[Operator.GitHub]: {
|
||||
backgroundColor: '#c7c7f8',
|
||||
},
|
||||
[Operator.BaiduFanyi]: { backgroundColor: '#e5f2d3' },
|
||||
[Operator.QWeather]: { backgroundColor: '#a4bbf3' },
|
||||
[Operator.ExeSQL]: { backgroundColor: '#b9efe8' },
|
||||
};
|
||||
|
||||
export const componentMenuList = [
|
||||
|
||||
@@ -50,7 +50,12 @@ const ExeSQLForm = ({ onValuesChange, form }: IOperatorForm) => {
|
||||
>
|
||||
<Input.Password></Input.Password>
|
||||
</Form.Item>
|
||||
<Form.Item label={t('loop')} name={'loop'} rules={[{ required: true }]}>
|
||||
<Form.Item
|
||||
label={t('loop')}
|
||||
name={'loop'}
|
||||
tooltip={t('loopTip')}
|
||||
rules={[{ required: true }]}
|
||||
>
|
||||
<InputNumber></InputNumber>
|
||||
</Form.Item>
|
||||
<TopNItem initialValue={30} max={100000}></TopNItem>
|
||||
|
||||
Reference in New Issue
Block a user