diff --git a/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue b/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue
index 9e3ce3ab6a..07a3993ceb 100644
--- a/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue
+++ b/frontend/src/business/components/api/definition/components/import/ApiSchedule.vue
@@ -32,8 +32,7 @@
-
+
@@ -175,10 +174,9 @@ export default {
callback(new Error(this.$t('schedule.cron_expression_format_error')));
} else if (!customValidate.pass) {
callback(new Error(customValidate.info));
- }else if(!this.intervalValidate()){
+ } else if (!this.intervalValidate()) {
callback(new Error(this.$t('schedule.cron_expression_interval_error')));
- }
- else {
+ } else {
callback();
}
};
@@ -258,11 +256,6 @@ export default {
currentUser: () => {
return getCurrentUser();
},
- changeAuthEnable() {
- if (!this.authEnable) {
- this.clearAuthInfo();
- }
- },
clear() {
this.formData.id = null;
this.formData.moduleId = null;