From ad42326bce6d001171d8ffec17ebc80bfcf5dd72 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Wed, 9 Oct 2024 14:55:48 +0800 Subject: [PATCH] perf: Default endpoint cannot be disabled --- .../settings/Terminal/Endpoint/EndpointCreateUpdate.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/settings/Terminal/Endpoint/EndpointCreateUpdate.vue b/src/views/settings/Terminal/Endpoint/EndpointCreateUpdate.vue index ff2c6e9be..2b86444cd 100644 --- a/src/views/settings/Terminal/Endpoint/EndpointCreateUpdate.vue +++ b/src/views/settings/Terminal/Endpoint/EndpointCreateUpdate.vue @@ -41,13 +41,17 @@ export default { }, oracle_port_range: { disabled: true + }, + is_active: { + disabled: this.$route.params.id === '00000000-0000-0000-0000-000000000001' } }, hasDetailInMsg: false } }, computed: {}, - created() {}, + created() { + }, methods: {} }