fix/op:if user not input api endpoint when update mcp server,need to disable save

This commit is contained in:
riverLethe committed 2025-10-17 15:04:21 +08:00
1 parent 21c72f17ba
commit 33549167d9
1 file changed
+2 -1
@@ -197,7 +197,8 @@ const BaseServiceEditPage: React.FC<ServiceEditPageProps> = ({
const hasBasicInfo =
formData.name.trim() &&
formData.short_description?.trim() &&
formData.slug_name?.trim();
formData.slug_name?.trim() &&
formData.base_url?.trim();
// if free, no need to validate price
if (formData.charge_type === ChargeType.Free) {