This commit is contained in:
2024-07-12 15:38:39 +08:00
parent 09c015ad05
commit b73cb7ea07

View File

@ -298,7 +298,10 @@ export default {
spinner: "el-icon-loading", spinner: "el-icon-loading",
background: "rgba(0, 0, 0, 0.7)", background: "rgba(0, 0, 0, 0.7)",
}); });
if (!this.form.routeNodeDay) { if (
Number(this.form.routeNodeDay) != 0 &&
Number(this.form.routeNodeDay) < 0
) {
this.$message.error("请输入节点时间段天数"); this.$message.error("请输入节点时间段天数");
return loading.close(); return loading.close();
} }