fix(接口定义): 修复case编辑页面自定义字段富文本库遮挡的缺陷

--bug=1017380 --user=王孝刚 【接口测试】接口模板中有富文本框,会在创建case和mock页面显示
https://www.tapd.cn/55049933/s/1253984
This commit is contained in:
wxg0103 2022-09-28 18:25:49 +08:00 committed by wxg0103
parent 8f35b3faf0
commit 7ca2b15347
4 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@
"lodash.isnumber": "^3.0.3",
"lodash.isobject": "^3.0.2",
"lodash.isstring": "^4.0.1",
"mavon-editor": "2.9.1",
"mavon-editor": "2.10.4",
"md5": "^2.3.0",
"mockjs": "^1.1.0",
"nprogress": "^0.2.0",

View File

@ -125,7 +125,7 @@ export default {
if (typeArray.indexOf(scenarioDefinition[i].type) !== -1) {
scenarioDefinition[i].originalDataSourceId = scenarioDefinition[i].dataSourceId;
}
if (scenarioDefinition[i].hashTree !== undefined && scenarioDefinition[i].hashTree.length > 0) {
if (scenarioDefinition[i].hashTree && scenarioDefinition[i].hashTree.length > 0) {
this.setOriginal(scenarioDefinition[i].hashTree);
}
}

View File

@ -465,7 +465,7 @@ export default {
scenarioDefinition[i].originalDataSourceId = scenarioDefinition[i].dataSourceId;
scenarioDefinition[i].originalEnvironmentId = scenarioDefinition[i].environmentId;
}
if (scenarioDefinition[i].hashTree !== undefined && scenarioDefinition[i].hashTree.length > 0) {
if (scenarioDefinition[i].hashTree && scenarioDefinition[i].hashTree.length > 0) {
this.setOriginal(scenarioDefinition[i].hashTree);
}
}

View File

@ -254,7 +254,7 @@ export default {
<style scoped>
/deep/ .v-note-wrapper {
.v-note-wrapper {
display: block !important;
position: static !important;
}