diff --git a/frontend/src/assets/info.png b/frontend/src/assets/info.png old mode 100644 new mode 100755 index 930d639299..039f46cb4d Binary files a/frontend/src/assets/info.png and b/frontend/src/assets/info.png differ diff --git a/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue b/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue index a5e0416370..b762b58922 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/RelevanceScenarioList.vue @@ -89,9 +89,6 @@ selectRows: new Set() } }, - created() { - this.search(); - }, watch: { selectNodeIds() { this.search(); @@ -102,6 +99,9 @@ }, methods: { search() { + if (!this.projectId) { + return; + } this.selectRows = new Set(); this.loading = true; diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue index b41c91b322..c0bd9f7354 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestCaseScenarioRelevance.vue @@ -75,6 +75,9 @@ methods: { open() { this.$refs.baseRelevance.open(); + if (this.$refs.apiScenarioList) { + this.$refs.apiScenarioList.search(); + } }, setProject(projectId) { this.projectId = projectId; diff --git a/frontend/src/login/Login.vue b/frontend/src/login/Login.vue index 12cf019f57..666462ea7e 100644 --- a/frontend/src/login/Login.vue +++ b/frontend/src/login/Login.vue @@ -47,7 +47,7 @@
- + @@ -66,15 +66,6 @@ const auth = requireComponent.keys().length > 0 ? requireComponent("./auth/Auth. export default { name: "Login", data() { - /*let validateEmail = (rule, value, callback) => { - // eslint-disable-next-line no-useless-escape - let EMAIL_REGEX = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; - if (!EMAIL_REGEX.test(value)) { - callback(new Error('邮箱格式不正确')); - } else { - callback(); - } - };*/ return { result: {}, form: { @@ -192,66 +183,51 @@ export default {