Browse Source

修改拖拽条引起的bug

pull/59/head
xuxiaoming 3 years ago
parent
commit
82a07945c1
2 changed files with 4 additions and 6 deletions
  1. +2
    -2
      src/views/factoryModel/part/index.vue
  2. +2
    -4
      src/views/factoryModel/part/material/index.vue

+ 2
- 2
src/views/factoryModel/part/index.vue View File

@ -30,8 +30,8 @@ export default {
},
mounted () {
this.dragChangeSize((moveLen)=>{
this.tableHeight = (moveLen -45) + "px"
});;
this.tableHeight = (moveLen -100) + "px"
},{minTopValue:150});
},
methods:{
calcTableHeight(height){


+ 2
- 4
src/views/factoryModel/part/material/index.vue View File

@ -289,14 +289,12 @@ export default {
box-sizing: border-box;
padding-top: 60px;
.search-wrap {
position: absolute;
top: 10px;
left: 0;
height: 30px;
width: 100%;
}
.content-table-wrap {
width: 100%;
height: 100%;
height: calc(100% - 30px);
}
}
</style>

Loading…
Cancel
Save