main #2

Merged
jingrow merged 250 commits from main into v1 2026-01-13 22:45:50 +08:00
Showing only changes of commit 69739f7d2b - Show all commits

View File

@ -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>