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