fix: fix canListParameter (undefined) to canListParameters
This commit is contained in:
@@ -1434,8 +1434,8 @@ export default {
|
|||||||
},
|
},
|
||||||
canListParameters: {
|
canListParameters: {
|
||||||
immediate: true,
|
immediate: true,
|
||||||
handler (canToggleRaw) {
|
handler (canListParameters) {
|
||||||
this.rawInput = !canToggleRaw
|
this.rawInput = !canListParameters
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
contentType(contentType, oldContentType) {
|
contentType(contentType, oldContentType) {
|
||||||
@@ -1764,7 +1764,7 @@ export default {
|
|||||||
},
|
},
|
||||||
rawInput: {
|
rawInput: {
|
||||||
get() {
|
get() {
|
||||||
return this.canListParameter ? this.$store.state.request.rawInput : true
|
return this.canListParameters ? this.$store.state.request.rawInput : true
|
||||||
},
|
},
|
||||||
set(value) {
|
set(value) {
|
||||||
this.$store.commit("setState", { value, attribute: "rawInput" })
|
this.$store.commit("setState", { value, attribute: "rawInput" })
|
||||||
|
|||||||
Reference in New Issue
Block a user