|
@@ -143,6 +143,7 @@
|
|
|
ref="ModifyAppConfigItem"
|
|
|
:instance="curConfigItem"
|
|
|
:group="curGroupForAdd"
|
|
|
+ @modified="search"
|
|
|
></modify-app-config-item>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -247,6 +248,7 @@ export default {
|
|
|
this.baselineList = [];
|
|
|
this.curBaselineItem = {};
|
|
|
this.envList = [];
|
|
|
+ this.groupConfigList = [];
|
|
|
},
|
|
|
cancel() {
|
|
|
this.modalIsShow = false;
|
|
@@ -382,7 +384,7 @@ export default {
|
|
|
},
|
|
|
getConfigItemGroupPosInfo(configItemKey) {
|
|
|
const curGroup = this.configGroups.find(group =>
|
|
|
- configItemKey.startsWith(group.prefix)
|
|
|
+ configItemKey.startsWith(group.prefix + ".")
|
|
|
);
|
|
|
if (!curGroup) return;
|
|
|
let groupData = {
|
|
@@ -442,7 +444,7 @@ export default {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- this.curConfigItem = { ...this.filter };
|
|
|
+ this.curConfigItem = { ...this.filter, available: { type: "string" } };
|
|
|
this.$refs.ModifyAppConfigItem.open();
|
|
|
},
|
|
|
toEdit(row) {
|
|
@@ -465,6 +467,7 @@ export default {
|
|
|
},
|
|
|
baselineModified(data) {
|
|
|
this.setCacheBaselineList(data);
|
|
|
+ this.search();
|
|
|
},
|
|
|
scrollTo(group) {
|
|
|
this.$refs.ConfigTableBody.scrollTop =
|