Skip to content

Commit

Permalink
fix: this.postFormbroker is undefind in broker.vue (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
linkun-wang authored Aug 7, 2023
1 parent 8f0af43 commit b601dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions front-end/src/views/management/brokers/broker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,15 @@ export default {
for (var policy in res.data) {
for (var i in res.data[policy].primary) {
var regexPrimary = new RegExp(res.data[policy].primary[i])
if (regexPrimary.test(this.postFormbroker)) {
if (regexPrimary.test(this.postForm.broker)) {
if (tempIsolationPolicy.indexOf(policy) < 0) {
tempIsolationPolicy.push(policy)
}
}
}
for (var j in res.data[policy].secondary) {
var regexSecondary = new RegExp(res.data[policy].secondary[j])
if (regexSecondary.test(this.postFormbroker)) {
if (regexSecondary.test(this.postForm.broker)) {
if (tempIsolationPolicy.indexOf(policy) < 0) {
tempIsolationPolicy.push(policy)
}
Expand Down

0 comments on commit b601dfb

Please sign in to comment.