mirror of
https://github.com/JetSprow/J-Board-Lite.git
synced 2026-05-01 01:14:10 +05:30
polish: refine lite admin controls
This commit is contained in:
@@ -389,9 +389,6 @@ export async function updatePlan(id: string, formData: FormData) {
|
||||
const nodeId = data.nodeId ?? existing.nodeId;
|
||||
|
||||
if (!nodeId) throw new Error("代理套餐必须选择节点");
|
||||
if (data.totalTrafficGb == null || data.totalTrafficGb <= 0) {
|
||||
throw new Error("代理套餐必须填写总流量池,且大于 0");
|
||||
}
|
||||
|
||||
const inboundIds = parseInboundIds(data.inboundIds, data.inboundId);
|
||||
if (inboundIds.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user