feat: endpoint增加enabled

This commit is contained in:
陈劲松
2020-11-26 14:16:46 +08:00
committed by chenjinsong
parent b01e518b49
commit 6b08ab4bbc
2 changed files with 14 additions and 0 deletions

View File

@@ -1314,6 +1314,16 @@
/* end--子弹框*/
</style>
<style lang="scss">
.right-box-add-endpoint {
.right-box-form>.el-form-item {
margin-left: 0;
}
.right-box-form-left.right-box-form .el-form-item .el-form-item__label {
width: 100px;
}
}
.endpoint-asset-search .el-autocomplete>.el-input {
position: absolute;
}

View File

@@ -112,6 +112,10 @@
</el-scrollbar>
</div>
</el-form-item>
<!--enable-->
<el-form-item :label="$t('config.account.enable')">
<el-switch v-model.number="editEndpoint.enabled" active-color="#ee9d3f" :active-value="1" :inactive-value="0"></el-switch>
</el-form-item>
</el-form>
</el-scrollbar>