fix: remove leftover AutoRun, replace checkbox with switch in file list

This commit is contained in:
Trae AI
2026-06-18 19:53:16 +08:00
parent 8d5d8b1461
commit a0c817571a
3 changed files with 12 additions and 21 deletions
+6 -10
View File
@@ -675,20 +675,16 @@ onMounted(() => {
{{ formatFileSize(file.file_size) }}
</td>
<td class="p-2 text-center">
<input
type="checkbox"
<UiSwitch
:checked="formData.entry_files.includes(file.file_path)"
class="h-4 w-4 rounded border-gray-300 cursor-pointer"
@change="toggleEntryFile(file.file_path)"
>
@update:checked="toggleEntryFile(file.file_path)"
/>
</td>
<td class="p-2 text-center">
<input
type="checkbox"
<UiSwitch
:checked="formData.desktop_shortcut_files.includes(file.file_path)"
class="h-4 w-4 rounded border-gray-300 cursor-pointer"
@change="toggleDesktopShortcut(file.file_path)"
>
@update:checked="toggleDesktopShortcut(file.file_path)"
/>
</td>
</tr>
</tbody>
+6 -10
View File
@@ -596,20 +596,16 @@ onMounted(() => {
{{ formatFileSize(file.file_size) }}
</td>
<td class="p-2 text-center">
<input
type="checkbox"
<UiSwitch
:checked="formData.entry_files.includes(file.file_path)"
class="h-4 w-4 rounded border-gray-300 cursor-pointer"
@change="toggleEntryFile(file.file_path)"
>
@update:checked="toggleEntryFile(file.file_path)"
/>
</td>
<td class="p-2 text-center">
<input
type="checkbox"
<UiSwitch
:checked="formData.desktop_shortcut_files.includes(file.file_path)"
class="h-4 w-4 rounded border-gray-300 cursor-pointer"
@change="toggleDesktopShortcut(file.file_path)"
>
@update:checked="toggleDesktopShortcut(file.file_path)"
/>
</td>
</tr>
</tbody>