diff --git a/src/assets/images/bg2.jpeg b/src/assets/images/bg2.jpeg new file mode 100644 index 00000000..825ec07f Binary files /dev/null and b/src/assets/images/bg2.jpeg differ diff --git a/src/components/form-create/config/interface.ts b/src/components/form-create/config/interface.ts index 823c5b7b..c317b6b7 100644 --- a/src/components/form-create/config/interface.ts +++ b/src/components/form-create/config/interface.ts @@ -47,7 +47,7 @@ const BASIC_TYPE = ['number', 'string', 'bool']; const UNKNOWN_TYPE = ['dynamic']; -const COLLECTION_TYPE = ['map', 'object', 'list', 'tuple']; +const COLLECTION_TYPE = ['map', 'object', 'list', 'tuple', 'dynamic']; export const validateYaml = (str) => { let result: any = {}; diff --git a/src/components/form-create/config/yaml-parse.ts b/src/components/form-create/config/yaml-parse.ts index 20f71bcc..5193706a 100644 --- a/src/components/form-create/config/yaml-parse.ts +++ b/src/components/form-create/config/yaml-parse.ts @@ -37,10 +37,10 @@ export const validateYaml = (str) => { result = { empty: false, error: { - line: _.get(error, 'mark.line') + 1, + line: _.get(error, 'mark.line') || 0 + 1, reason: _.get(error, 'reason'), message: `${_.get(error, 'reason')} (line:${ - _.get(error, 'mark.line') + 1 + _.get(error, 'mark.line') || 0 + 1 })` } }; diff --git a/src/components/seal-form/style/index.less b/src/components/seal-form/style/index.less index 1a903416..eb7805d6 100644 --- a/src/components/seal-form/style/index.less +++ b/src/components/seal-form/style/index.less @@ -7,7 +7,9 @@ } .wrapper.seal-relative { + overflow: hidden; background-color: #fff; + border-radius: var(--border-radius-small); :deep(.arco-input-wrapper) { padding-top: 20px; diff --git a/src/views/login/index.vue b/src/views/login/index.vue index d242a467..625a6e20 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,9 +1,8 @@