This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git
The following commit(s) were added to refs/heads/master by this push:
new b601dfb fix: this.postFormbroker is undefind in broker.vue (#529)
b601dfb is described below
commit b601dfb78b0eecbd1d3ba68f172563afca75a215
Author: linkun <[email protected]>
AuthorDate: Mon Aug 7 15:27:46 2023 +0800
fix: this.postFormbroker is undefind in broker.vue (#529)
---
front-end/src/views/management/brokers/broker.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/front-end/src/views/management/brokers/broker.vue
b/front-end/src/views/management/brokers/broker.vue
index 2f15888..48cb33b 100644
--- a/front-end/src/views/management/brokers/broker.vue
+++ b/front-end/src/views/management/brokers/broker.vue
@@ -222,7 +222,7 @@ 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)
}
@@ -230,7 +230,7 @@ export default {
}
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)
}