This commit is contained in:
shiziyuan9527 2021-01-27 14:58:39 +08:00
commit 79705a36f9
1 changed files with 5 additions and 1 deletions

View File

@ -50,8 +50,9 @@
<el-switch
v-model="swaggerSynchronization"
@click.native="scheduleEdit"
:active-text="$t('api_test.api_import.timing_synchronization')">
>
</el-switch>
<span style="color: #6C317C;cursor: pointer;font-weight: bold;margin-left: 10px" @click="scheduleEditByText">{{$t('api_test.api_import.timing_synchronization')}}</span>
</el-form-item>
</el-col>
<el-col :span="12"
@ -188,6 +189,9 @@ export default {
}
}
},
scheduleEditByText(){
this.$refs.scheduleEdit.open(this.buildParam());
},
open(module) {
this.currentModule = module;
this.visible = true;