diff --git a/src/components/editor/Importer.jsx b/src/components/editor/Importer.jsx
index 8186f37..e8daeb9 100644
--- a/src/components/editor/Importer.jsx
+++ b/src/components/editor/Importer.jsx
@@ -18,13 +18,13 @@ class Importer extends Component {
rmodal: PropTypes.instanceOf(Component),
handleAddMemoryProperties: PropTypes.func.isRequired
}
- constructor(props) {
+ constructor (props) {
super(props)
this.state = {
result: JSON.stringify(mockResult(), null, 2)
}
}
- render() {
+ render () {
const { rmodal } = this.context
return (
@@ -51,7 +51,7 @@ class Importer extends Component {
)
}
- componentDidUpdate() {
+ componentDidUpdate () {
this.context.rmodal.reposition()
}
// DONE 2.1 支持格式化
@@ -92,16 +92,16 @@ class Importer extends Component {
value,
descripton: ''
}, {
- creator: auth.id,
- repositoryId: repository.id,
- moduleId: mod.id,
- interfaceId: itf.id,
- scope,
- parentId: parent.id
- }, {
- memory: true,
- id: _.uniqueId('memory-')
- })
+ creator: auth.id,
+ repositoryId: repository.id,
+ moduleId: mod.id,
+ interfaceId: itf.id,
+ scope,
+ parentId: parent.id
+ }, {
+ memory: true,
+ id: _.uniqueId('memory-')
+ })
memoryProperties.push(property)
if (schema.properties) {
diff --git a/src/components/editor/InterfaceSummary.jsx b/src/components/editor/InterfaceSummary.jsx
index 9a1d950..e677ed8 100644
--- a/src/components/editor/InterfaceSummary.jsx
+++ b/src/components/editor/InterfaceSummary.jsx
@@ -123,7 +123,7 @@ class InterfaceSummary extends Component {
{itf.method}
状态码:
- {itf.status}
+ {itf.status}
{itf.description &&
简介:{itf.description}
diff --git a/src/components/utils/Tree.js b/src/components/utils/Tree.js
index e85d0fb..87b8393 100644
--- a/src/components/utils/Tree.js
+++ b/src/components/utils/Tree.js
@@ -142,4 +142,4 @@ export default {
sort: (list) => {
return treeToArray(arrayToTree(list))
}
-}
\ No newline at end of file
+}