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

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

View File

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