mirror of
https://github.com/MCSManager/MCSManager.git
synced 2024-11-27 06:59:54 +08:00
Fix: select len check
This commit is contained in:
parent
a09a5e4310
commit
adfe2b494b
@ -17,7 +17,7 @@ const formRef = ref<FormInstance>();
|
||||
const openInstanceSelectDialog = async () => {
|
||||
try {
|
||||
const selectedInstances = await useSelectInstances();
|
||||
if (selectedInstances) {
|
||||
if (selectedInstances && selectedInstances.length > 0) {
|
||||
formData.value.instanceId = selectedInstances[0].instanceUuid;
|
||||
formData.value.daemonId = selectedInstances[0].daemonId;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user