From 8a4f9ed33e2fe78af751715aad924798ef7bbe36 Mon Sep 17 00:00:00 2001 From: yubathom Date: Thu, 5 Sep 2019 15:28:29 -0300 Subject: [PATCH] Update url at keyup at key-value params (bodyParams and headers) and bodyParam/rawParam at toggle state changes --- pages/index.vue | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index e0e9ac0ad..e94155083 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -95,11 +95,11 @@
  1. - +
  2. - +
  3. @@ -199,11 +199,11 @@
    1. - +
    2. - +
    3. @@ -369,6 +369,10 @@ watch: { contentType(val) { this.rawInput = !this.knownContentTypes.includes(val); + }, + rawInput (status) { + if (status && this.rawParams === '') this.rawParams = '{}' + else this.setRouteQueryState() } }, computed: {