refactor(接口测试): 优化步骤拖拽功能支持全选复制

--bug=1014238 --user=赵勇 [接口测试] github#12490前置操作、后置操作和断言规则中的文本框不支持鼠标拖动选择文本 https://www.tapd.cn/55049933/s/1186394
This commit is contained in:
fit2-zhao 2022-06-20 11:21:27 +08:00 committed by f2c-ci-robot[bot]
parent 0cdd7136d5
commit 410fc83d88
1 changed files with 13 additions and 2 deletions

View File

@ -38,6 +38,7 @@
@remove="remove" @remove="remove"
@copyRow="copyRow" @copyRow="copyRow"
:protocol="protocol" :protocol="protocol"
:draggable="true"
:title="$t('api_test.definition.request.pre_script')" :title="$t('api_test.definition.request.pre_script')"
:jsr223-processor="data" :jsr223-processor="data"
color="#B8741A" color="#B8741A"
@ -52,11 +53,19 @@
:scenarioId="scenarioId" :scenarioId="scenarioId"
:request="data" :request="data"
:jdbc-processor="data" :jdbc-processor="data"
:draggable="true"
color="#B8741A" color="#B8741A"
background-color="#F9F1EA"/> background-color="#F9F1EA"/>
<ms-constant-timer :inner-step="true" :timer="data" :node="node" v-if="data.type ==='ConstantTimer'" <ms-constant-timer
@remove="remove" @copyRow="copyRow"/> :inner-step="true"
:timer="data"
:node="node"
:draggable="true"
@remove="remove"
@copyRow="copyRow"
v-if="data.type ==='ConstantTimer'"
/>
</div> </div>
<div v-if="tabType ==='post'"> <div v-if="tabType ==='post'">
@ -69,6 +78,7 @@
:is-read-only="false" :is-read-only="false"
:title="$t('api_test.definition.request.post_script')" :title="$t('api_test.definition.request.post_script')"
:jsr223-processor="data" :jsr223-processor="data"
:draggable="true"
color="#783887" color="#783887"
background-color="#F2ECF3"/> background-color="#F2ECF3"/>
@ -82,6 +92,7 @@
:request="data" :request="data"
:scenarioId="scenarioId" :scenarioId="scenarioId"
:jdbc-processor="data" :jdbc-processor="data"
:draggable="true"
color="#783887" color="#783887"
background-color="#F2ECF3"/> background-color="#F2ECF3"/>
<!--提取规则--> <!--提取规则-->