From 656429e94f5989911bdf07848ef44b1cc71dfaf1 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期四, 19 三月 2026 12:55:31 +0800
Subject: [PATCH] #
---
src/main/webapp/static/js/stationPathPolicy/stationPathPolicy.js | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/webapp/static/js/stationPathPolicy/stationPathPolicy.js b/src/main/webapp/static/js/stationPathPolicy/stationPathPolicy.js
index 5918461..dbd3182 100644
--- a/src/main/webapp/static/js/stationPathPolicy/stationPathPolicy.js
+++ b/src/main/webapp/static/js/stationPathPolicy/stationPathPolicy.js
@@ -365,6 +365,17 @@
this.$message.warning('榛樿妯℃澘缂栫爜娌℃湁瀵瑰簲妯℃澘')
return
}
+ var defaultProfile = null
+ for (var i = 0; i < this.profiles.length; i++) {
+ if (this.profiles[i].profileCode === this.defaultProfileCode) {
+ defaultProfile = this.profiles[i]
+ break
+ }
+ }
+ if (!defaultProfile || Number(defaultProfile.status) !== 1) {
+ this.$message.warning('榛樿妯℃澘蹇呴』鍚敤')
+ return
+ }
var payload = {
defaultProfileCode: this.defaultProfileCode,
profiles: this.profiles.map(this.sanitizeProfileForSave),
--
Gitblit v1.9.1