This commit is contained in:
Liyas Thomas
2020-05-26 07:49:55 +05:30
parent 0b40e1c3fe
commit a6160be3ad

View File

@@ -1574,6 +1574,9 @@ export default {
// this.$store.commit('setState', { 'value': ["POST", "PUT", "PATCH"].includes(this.method) ? 'application/json' : '', 'attribute': 'contentType' }) // this.$store.commit('setState', { 'value': ["POST", "PUT", "PATCH"].includes(this.method) ? 'application/json' : '', 'attribute': 'contentType' })
this.contentType = ["POST", "PUT", "PATCH"].includes(this.method) ? "application/json" : "" this.contentType = ["POST", "PUT", "PATCH"].includes(this.method) ? "application/json" : ""
}, },
preRequestScript: function (val, oldVal) {
this.uri = this.uri
},
}, },
computed: { computed: {
/** /**