fix: fix canListParameter (undefined) to canListParameters
This commit is contained in:
parent
dc771f51e8
commit
9a4e64e13f
1 changed files with 3 additions and 3 deletions
|
|
@ -1434,8 +1434,8 @@ export default {
|
|||
},
|
||||
canListParameters: {
|
||||
immediate: true,
|
||||
handler (canToggleRaw) {
|
||||
this.rawInput = !canToggleRaw
|
||||
handler (canListParameters) {
|
||||
this.rawInput = !canListParameters
|
||||
}
|
||||
},
|
||||
contentType(contentType, oldContentType) {
|
||||
|
|
@ -1764,7 +1764,7 @@ export default {
|
|||
},
|
||||
rawInput: {
|
||||
get() {
|
||||
return this.canListParameter ? this.$store.state.request.rawInput : true
|
||||
return this.canListParameters ? this.$store.state.request.rawInput : true
|
||||
},
|
||||
set(value) {
|
||||
this.$store.commit("setState", { value, attribute: "rawInput" })
|
||||
|
|
|
|||
Loading…
Reference in a new issue