fix: 自动格式化
This commit is contained in:
parent
55ed001b16
commit
39220420fe
|
@ -105,10 +105,13 @@
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.response.responseResult.headers.indexOf("Content-Type: application/json") > 0) {
|
if (this.response.responseResult.headers.indexOf("Content-Type: application/json") > 0) {
|
||||||
if (this.$refs.modeDropdown) {
|
this.mode = BODY_FORMAT.JSON;
|
||||||
this.$refs.modeDropdown.handleCommand(BODY_FORMAT.JSON);
|
this.$nextTick(() => {
|
||||||
this.msCodeReload();
|
if (this.$refs.modeDropdown) {
|
||||||
}
|
this.$refs.modeDropdown.handleCommand(BODY_FORMAT.JSON);
|
||||||
|
this.msCodeReload();
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
msCodeReload() {
|
msCodeReload() {
|
||||||
|
|
Loading…
Reference in New Issue