mirror of https://github.com/openspug/spug
U Release v3.1.0
parent
1636e46244
commit
bff4593a1a
|
@ -131,7 +131,7 @@ AUTHENTICATION_EXCLUDES = (
|
|||
re.compile('/apis/.*'),
|
||||
)
|
||||
|
||||
SPUG_VERSION = 'v3.0.5'
|
||||
SPUG_VERSION = 'v3.1.0'
|
||||
|
||||
# override default config
|
||||
try:
|
||||
|
|
|
@ -10,4 +10,4 @@ export * from './functools';
|
|||
export * from './router';
|
||||
export const http = _http;
|
||||
export const history = _history;
|
||||
export const VERSION = 'v3.0.5';
|
||||
export const VERSION = 'v3.1.0';
|
||||
|
|
|
@ -50,7 +50,7 @@ export default function Parameter(props) {
|
|||
{({getFieldValue}) =>
|
||||
['select'].includes(getFieldValue('type')) ? (
|
||||
<Form.Item required name="options" label="可选项" tooltip="每项单独一行,每行可以用英文冒号分割前边是值后边是显示的内容。">
|
||||
<Input.TextArea autoSize={{minRows: 3, maxRows: 5}} placeholder="每行一个选项,例如: test:测试环境"/>
|
||||
<Input.TextArea autoSize={{minRows: 3, maxRows: 5}} placeholder="每行一个选项,例如: test:测试环境 prod:生产环境"/>
|
||||
</Form.Item>
|
||||
) : null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue