From a3ee1d119748747adc6c77265b2b51ab42747e3b Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 30 Oct 2023 14:19:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E3=80=90=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E3=80=91github#26?= =?UTF-8?q?757=EF=BC=8C=E5=B5=8C=E5=A5=97=E6=AD=A5=E9=AA=A4=E5=B1=95?= =?UTF-8?q?=E5=BC=80=E5=93=8D=E5=BA=94=E5=86=85=E5=AE=B9=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=81=9A=E7=84=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1030567 --user=白奇 【接口测试】github#26757,【特定场景脚本必现】浏览器访问接口自动化-编辑接口场景页面,浏览器报错,safari浏览器无法显示场景列表,谷歌浏览器样式存在穿透同时导致上下滚动页面到某处后页面自动上下胡乱滚动 https://www.tapd.cn/55049933/s/1430708 --- .../definition/components/response/ResponseResult.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/api-test/frontend/src/business/definition/components/response/ResponseResult.vue b/api-test/frontend/src/business/definition/components/response/ResponseResult.vue index b82fbfb9f1..8dc146f82a 100644 --- a/api-test/frontend/src/business/definition/components/response/ResponseResult.vue +++ b/api-test/frontend/src/business/definition/components/response/ResponseResult.vue @@ -90,7 +90,6 @@ import MsCodeEdit from '../MsCodeEdit'; import MsDropdown from '../../../../business/commons/MsDropdown'; import { BODY_FORMAT } from '../../model/ApiTestModel'; import MsSqlResultTable from './SqlResultTable'; -import { downloadByURL } from 'fit2cloud-ui/src/tools/utils'; export default { name: 'MsResponseResult', @@ -141,6 +140,14 @@ export default { this.setReqMessage(); this.showPicture(); }, + activeName: { + handler() { + setTimeout(() => { + this.$refs.codeEdit?.$el.querySelector('.ace_text-input')?.focus(); + }, 0); + }, + immediate: true, + }, }, methods: { modeChange(mode) {