fix: 已经添加的网元类型禁止修改neId
This commit is contained in:
@@ -399,6 +399,7 @@ onMounted(() => {
|
||||
v-model:value="modalState.from.neType"
|
||||
:options="NE_TYPE_LIST.map(v => ({ value: v }))"
|
||||
@change="fnNeTypeChange"
|
||||
:disabled="!!modalState.from.id"
|
||||
>
|
||||
<a-input
|
||||
allow-clear
|
||||
@@ -451,6 +452,7 @@ onMounted(() => {
|
||||
:placeholder="t('common.inputPlease')"
|
||||
:maxlength="32"
|
||||
@change="fnNeIdChange"
|
||||
:disabled="!!modalState.from.id"
|
||||
>
|
||||
<template #prefix>
|
||||
<a-tooltip placement="topLeft">
|
||||
|
||||
Reference in New Issue
Block a user