Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust the scope of the jar package math #31

Merged
merged 10 commits into from
Jun 29, 2022
Prev Previous commit
Next Next commit
fix: the diy config problem
kaviarpan committed Jun 27, 2022
commit ae72b61cb571a382cb608212f1d1021f6ca62f71
6 changes: 5 additions & 1 deletion web/src/apps/streamis/module/jobConfig/index.vue
Original file line number Diff line number Diff line change
@@ -224,7 +224,11 @@ export default {
emptyWarning = !mapKey.key || !mapKey.key.trim();
if (configuration[key][mapKey.key]) warning = true;
configuration[key][mapKey.key] = mapKey.value || '';
})
});
if ((this.diyMap[key] || []).length <= 1) {
const only = (this.diyMap[key] || [])[0] || {};
emptyWarning = !((!only.key || !only.key.trim()) && (!only.value || !only.value.trim()))
}
});
console.log('configuration', configuration, this.valueMap)
if (emptyWarning) {