feat: switch样式调整

This commit is contained in:
wenyann 2021-01-27 14:51:16 +08:00
parent 90e57f12d8
commit 3acc2a1edd
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;