mirror of
https://github.com/YMFE/yapi.git
synced 2025-04-18 15:20:25 +08:00
opti: update editor
This commit is contained in:
parent
a194ff41d1
commit
a5728892c3
@ -12,6 +12,7 @@ import mockEditor from 'client/components/AceEditor/mockEditor';
|
||||
import axios from 'axios';
|
||||
import formats from 'common/formats';
|
||||
const jSchema = require('json-schema-editor-visual');
|
||||
|
||||
const ResBodySchema = jSchema({ lang: 'zh_CN', format: formats });
|
||||
const ReqBodySchema = jSchema({ lang: 'zh_CN' });
|
||||
const TabPane = Tabs.TabPane;
|
||||
|
6
package-lock.json
generated
6
package-lock.json
generated
@ -10450,9 +10450,9 @@
|
||||
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
|
||||
},
|
||||
"json-schema-editor-visual": {
|
||||
"version": "1.0.5",
|
||||
"resolved": "http://registry.npm.taobao.org/json-schema-editor-visual/download/json-schema-editor-visual-1.0.5.tgz",
|
||||
"integrity": "sha1-HZDynHSHIoPG8rAqMd30cySSsP4=",
|
||||
"version": "1.0.8",
|
||||
"resolved": "http://registry.npm.taobao.org/json-schema-editor-visual/download/json-schema-editor-visual-1.0.8.tgz",
|
||||
"integrity": "sha1-i2nWHjdyj6QHudV/iY7Sz4i0He8=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"antd": "3.2.2",
|
||||
|
@ -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.5",
|
||||
"json-schema-editor-visual": "^1.0.8",
|
||||
"less": "^2.7.2",
|
||||
"less-loader": "^4.0.5",
|
||||
"markdown-it-include": "^1.0.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user