main #2
@ -120,7 +120,9 @@
|
||||
v-model="record.item"
|
||||
type="text"
|
||||
class="w-24 px-2 py-1 text-sm border border-gray-300 rounded focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
|
||||
:class="{ 'bg-gray-100 text-gray-500 cursor-not-allowed': !record.isNew }"
|
||||
placeholder="主机名"
|
||||
:disabled="!record.isNew"
|
||||
/>
|
||||
</div>
|
||||
<div v-else class="text-sm text-gray-900">
|
||||
@ -133,6 +135,8 @@
|
||||
<select
|
||||
v-model="record.type"
|
||||
class="w-20 px-2 py-1 text-sm border border-gray-300 rounded focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
|
||||
:class="{ 'bg-gray-100 text-gray-500 cursor-not-allowed': !record.isNew }"
|
||||
:disabled="!record.isNew"
|
||||
>
|
||||
<option value="A">A</option>
|
||||
<option value="AAAA">AAAA</option>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user