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),