fix(接口测试): 接口测试参数表格修改

修改form-data的参数表格中参数类型下拉框样式,并不允许最后一行空行上下移动
This commit is contained in:
song-tianyang 2022-12-08 14:11:48 +08:00 committed by 建国
parent b2787bc297
commit 523a2ea5ef
1 changed files with 11 additions and 2 deletions

View File

@ -31,6 +31,7 @@
v-if="type === 'body'"
:disabled="isReadOnly"
v-model="scope.row.type"
size="mini"
@change="typeChange(item)">
<el-option value="text" />
<el-option value="file" />
@ -150,8 +151,16 @@
circle
@click="remove(scope.$index)"
:disabled="isDisable(scope.$index) || isReadOnly" />
<i class="el-icon-top" style="cursor: pointer" @click="moveTop(scope.$index)" />
<i class="el-icon-bottom" style="cursor: pointer" @click="moveBottom(scope.$index)" />
<i
class="el-icon-top"
v-show="!(isDisable(scope.$index) || isReadOnly)"
style="cursor: pointer"
@click="moveTop(scope.$index)" />
<i
class="el-icon-bottom"
v-show="!(isDisable(scope.$index) || isReadOnly)"
style="cursor: pointer"
@click="moveBottom(scope.$index)" />
</template>
</el-table-column>
</el-table>