Skip to content

Commit a616450

Browse files
committed
修复表单对其的bug
1 parent 641d047 commit a616450

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

SBDocClient/dist/vendor.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SBDocClient/web/common/common.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,18 @@ body {
6060
background-color:rgb(247,246,242) ;
6161
}
6262

63+
.el-input__inner{
64+
display:inline-block;
65+
}
6366

67+
.el-textarea__inner{
68+
display: inline-block;
69+
height: 100%;
70+
}
71+
72+
td {
73+
padding: 0;
74+
}
6475

6576

6677

SBDocClient/web/component/outParam.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<el-row class="row" style="cursor: pointer;height: 100%">
33
<table width="100%" style="border-spacing: 0">
44
<template v-for="(item,index) in arr">
5-
<tr style="text-align: center;vertical-align: middle;cursor: move" :draggable="item.drag?item.drag:'false'" @dragover="dragOver($event,item)" @dragleave="dragLeave($event,item)" @drop="drop($event,item,arr)" @dragstart="dragStart($event,item,index,arr)" @dragend="dragEnd($event)">
6-
<td :style="{width: '30%',height: '50px',lineHeight: '50px',verticalAlign: 'middle',paddingLeft:level*20+'px'}">
5+
<tr style="text-align: center;vertical-align: middle;cursor: move;height: 50px;line-height: 50px" :draggable="item.drag?item.drag:'false'" @dragover="dragOver($event,item)" @dragleave="dragLeave($event,item)" @drop="drop($event,item,arr)" @dragstart="dragStart($event,item,index,arr)" @dragend="dragEnd($event)">
6+
<td :style="{width: '30%',verticalAlign: 'middle',paddingLeft:level*20+'px'}">
77
<el-col class="col" :span="2" v-if="(item.type==4 || item.type==3)" @click.native="toggle(item)">
88
<span :class="item.show?'el-icon-caret-bottom':'el-icon-caret-right'" style="color:#c7c7c7 "></span>
99
</el-col>
@@ -30,10 +30,10 @@
3030
</span>
3131
</td>
3232
<td style="width: 18%">
33-
<el-input type="textarea" style="width: 90%;" resize="none" :row="2" placeholder="请填写备注;" v-model="item.remark" @focus="focus(item)" @blur="blur(item)"></el-input>
33+
<el-input type="textarea" style="width: 90%;height: 46px" resize="none" :row="0" placeholder="请填写备注;" v-model="item.remark" @focus="focus(item)" @blur="blur(item)"></el-input>
3434
</td>
3535
<td style="width: 20%">
36-
<el-input type="textarea" style="width: 90%;" resize="none" :row="2" placeholder="请填写Mock数据;" v-model="item.mock" v-if="item.type!=3 && item.type!=4" @focus="focus(item)" @blur="blur(item)"></el-input>
36+
<el-input type="textarea" style="width: 90%;height: 46px" resize="none" :row="0" placeholder="请填写Mock数据;" v-model="item.mock" v-if="item.type!=3 && item.type!=4" @focus="focus(item)" @blur="blur(item)"></el-input>
3737
</td>
3838
<td style="width: 5%">
3939
<el-button type="text" icon="close" style="color: red;font-size: 15px" @click="remove(item,index,level)" size="small"></el-button>

0 commit comments

Comments
 (0)