mirror of
https://github.com/YMFE/yapi.git
synced 2025-03-01 14:05:44 +08:00
Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev
This commit is contained in:
commit
e866df3eac
@ -17,7 +17,8 @@ const messageMap = {
|
||||
enum: '枚举',
|
||||
uniqueItems: '元素是否都不同',
|
||||
itemType: 'item 类型',
|
||||
format: 'format'
|
||||
format: 'format',
|
||||
itemFormat: 'format'
|
||||
};
|
||||
|
||||
const columns = [
|
||||
|
@ -556,6 +556,7 @@ class InterfaceEditForm extends Component {
|
||||
req_body_other = ''
|
||||
}
|
||||
|
||||
|
||||
const queryTpl = (data, index) => {
|
||||
return (
|
||||
<Row key={index} className="interface-edit-item-content">
|
||||
|
@ -137,7 +137,9 @@ const SchemaArray =(data, index) => {
|
||||
maxItems: data.maxItems,
|
||||
itemType: items.type,
|
||||
children: optionForm
|
||||
|
||||
}
|
||||
if(items.type === 'string'){
|
||||
item = Object.assign({},item, {itemFormat: items.format})
|
||||
}
|
||||
return item
|
||||
}
|
||||
|
@ -108,7 +108,7 @@
|
||||
"fast-sass-loader-china": "1.2.5",
|
||||
"ghooks": "^2.0.0",
|
||||
"happypack": "^4.0.0-beta.5",
|
||||
"json-schema-editor-visual": "^1.0.3",
|
||||
"json-schema-editor-visual": "^1.0.4",
|
||||
"less": "^2.7.2",
|
||||
"less-loader": "^4.0.5",
|
||||
"node-sass-china": "4.5.0",
|
||||
|
Loading…
Reference in New Issue
Block a user