生成代理名称

This commit is contained in:
刘嘉伟 2024-10-14 12:09:36 +08:00
parent fe697059b4
commit 6d2f1c7b64

View File

@ -537,7 +537,7 @@ const handleRandomProxyName = () => {
const randomIndex = Math.floor(Math.random() * characters.length);
result += characters[randomIndex];
}
editForm.value.name = `df-${editForm.value.type}-${result}`.toUpperCase();
editForm.value.name = `df_${editForm.value.type}_${result}`.toLocaleLowerCase();
};
onMounted(() => {