fix: 修复属性名称修改后顺序被重置的问题

This commit is contained in:
albert
2022-12-21 11:23:00 +08:00
parent 6509b3a3d0
commit bd6c60dfbd
9 changed files with 472 additions and 272 deletions

View File

@@ -1 +1 @@
*{padding:0;margin:0;box-sizing:border-box}.title{text-align:center;font-size:40px;font-weight:700;height:100px;line-height:100px}.version{font-size:16px}.desc{padding:20px;padding:0 3em;font-size:1.2em}.container,.desc{width:80vw;min-width:800px;margin:auto}.container{display:flex;padding:20px;justify-content:center;height:calc(100vh - 150px)}.code-container{max-height:600px;overflow:auto}.schema{margin-left:20px;width:50%;height:100%;overflow-y:auto;overflow-x:hidden;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:12px}.CodeMirror{height:100%!important}.vue-codemirror{flex:1;margin:0 24px;border:1px solid rgba(0,0,0,.1);min-height:300px;overflow:auto;border-radius:6px}.json-schema-editor .row[data-v-4c79b4a6]{display:flex;margin:12px}.json-schema-editor .row .ant-col-name .ant-col-name-c[data-v-4c79b4a6],.json-schema-editor .row .ant-col-name[data-v-4c79b4a6]{display:flex;align-items:center}.json-schema-editor .row .ant-col-name .ant-col-name-required[data-v-4c79b4a6]{flex:0 0 24px;text-align:center}.json-schema-editor .row .ant-col-type[data-v-4c79b4a6]{width:100%}.json-schema-editor .row .ant-col-setting[data-v-4c79b4a6]{display:inline-block}.json-schema-editor .row .setting-icon[data-v-4c79b4a6]{color:rgba(0,0,0,.45);border:none}.json-schema-editor .row .plus-icon[data-v-4c79b4a6]{border:none}.json-schema-editor .row .close-icon[data-v-4c79b4a6]{color:#888;border:none}.json-schema-editor-advanced-modal{color:rgba(0,0,0,.65);min-width:600px}.json-schema-editor-advanced-modal pre{font-family:monospace;height:100%;overflow-y:auto;border:1px solid rgba(0,0,0,.1);border-radius:4px;padding:12px;width:50%}.json-schema-editor-advanced-modal h3{display:block;border-left:3px solid #1890ff;padding:0 8px}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item{display:flex}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item .ant-form-item-control-wrapper{flex:1}
*{padding:0;margin:0;box-sizing:border-box}.title{text-align:center;font-size:40px;font-weight:700;height:100px;line-height:100px}.version{font-size:16px}.desc{padding:20px;padding:0 3em;font-size:1.2em}.container,.desc{width:80vw;min-width:800px;margin:auto}.container{display:flex;padding:20px;justify-content:center;height:calc(100vh - 150px)}.code-container{max-height:600px;overflow:auto}.schema{margin-left:20px;width:50%;height:100%;overflow-y:auto;overflow-x:hidden;border:1px solid rgba(0,0,0,.1);border-radius:8px;padding:12px}.CodeMirror{height:100%!important}.vue-codemirror{flex:1;margin:0 24px;border:1px solid rgba(0,0,0,.1);min-height:300px;overflow:auto;border-radius:6px}.json-schema-editor .row[data-v-b9b7cd1a]{display:flex;margin:12px}.json-schema-editor .row .ant-col-name .ant-col-name-c[data-v-b9b7cd1a],.json-schema-editor .row .ant-col-name[data-v-b9b7cd1a]{display:flex;align-items:center}.json-schema-editor .row .ant-col-name .ant-col-name-required[data-v-b9b7cd1a]{flex:0 0 24px;text-align:center}.json-schema-editor .row .ant-col-type[data-v-b9b7cd1a]{width:100%}.json-schema-editor .row .ant-col-setting[data-v-b9b7cd1a]{display:inline-block}.json-schema-editor .row .setting-icon[data-v-b9b7cd1a]{color:rgba(0,0,0,.45);border:none}.json-schema-editor .row .plus-icon[data-v-b9b7cd1a]{border:none}.json-schema-editor .row .close-icon[data-v-b9b7cd1a]{color:#888;border:none}.json-schema-editor-advanced-modal{color:rgba(0,0,0,.65);min-width:600px}.json-schema-editor-advanced-modal pre{font-family:monospace;height:100%;overflow-y:auto;border:1px solid rgba(0,0,0,.1);border-radius:4px;padding:12px;width:50%}.json-schema-editor-advanced-modal h3{display:block;border-left:3px solid #1890ff;padding:0 8px}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item{display:flex}.json-schema-editor-advanced-modal .ant-advanced-search-form .ant-form-item .ant-form-item-control-wrapper{flex:1}