U Release v3.1.0

pull/480/head
vapao 2022-04-18 21:40:44 +08:00
parent 1636e46244
commit bff4593a1a
3 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ AUTHENTICATION_EXCLUDES = (
re.compile('/apis/.*'),
)
SPUG_VERSION = 'v3.0.5'
SPUG_VERSION = 'v3.1.0'
# override default config
try:

View File

@ -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';

View File

@ -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="每行一个选项,例如:&#13;&#10;test:测试环境&#13;&#10;prod:生产环境"/>
</Form.Item>
) : null
}