-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #329 from lljj-x/feat/array-feature
Feat/array feature
- Loading branch information
Showing
34 changed files
with
1,322 additions
and
815 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
...emo/demo-v2/src/pages/vue-editor/views/editor/viewComponents/FlashSaleGoodsList/schema.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
export default { | ||
$schema: 'http://json-schema.org/draft-07/schema#', | ||
type: 'object', | ||
definitions: { | ||
ImgItem: { | ||
type: 'object', | ||
properties: { | ||
imgUrl: { | ||
title: '图片地址', | ||
type: 'string', | ||
format: 'uri' | ||
}, | ||
imgLink: { | ||
title: '链接地址', | ||
type: 'string', | ||
format: 'uri', | ||
default: 'https://www.jd.com' | ||
} | ||
}, | ||
required: [ | ||
'imgUrl', | ||
'imgLink' | ||
] | ||
} | ||
}, | ||
properties: { | ||
startTime: { | ||
title: '配置秒杀开始时间', | ||
type: 'string', | ||
format: 'date-time' | ||
}, | ||
seckillBrand: { | ||
$ref: '#/definitions/ImgItem' | ||
}, | ||
goodsList: { | ||
type: 'array', | ||
minItems: 4, | ||
maxItems: 8, | ||
uniqueItems: true, | ||
'ui:afterArrayOperate': (formData, command, payload) => { | ||
debugger; | ||
}, | ||
items: { | ||
$ref: '#/definitions/ImgItem' | ||
} | ||
} | ||
}, | ||
required: [ | ||
'startTime' | ||
], | ||
additionalProperties: false | ||
}; |
49 changes: 0 additions & 49 deletions
49
...o/demo-v2/src/pages/vue-editor/views/editor/viewComponents/FlashSaleGoodsList/schema.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.