Pārlūkot izejas kodu

数据大盘:半浮层改造(1.0)

洪海涛 4 gadi atpakaļ
vecāks
revīzija
e2699a9db1

+ 7 - 1
src/views/dataBigManage/components/drawerModal/index.vue

@@ -1,5 +1,6 @@
 <template>
   <el-drawer
+    class="content-wrapper"
     :modal="false"
     size="100%"
     :class="drawerBox"
@@ -309,7 +310,7 @@ export default {
     // 设置时间轴
     setTimeLineData() {
       let { firstActive, first, secondActive, second } = this.timelineData
-      if (this.title.search(/新增问题|reopen|提测报告|准出记录/) < 0) {
+      if (this.title.search(/新增问题|提测报告|准出记录/) < 0) {
         if (this.headerTitle === '质量') {
           if (this.title.search(/新增缺陷|reopen/) > -1) {
             first = [...timelineList.newDefect]
@@ -1010,6 +1011,11 @@ export default {
 }
 </script>
 <style scoped lang='less'>
+.content-wrapper{
+ /deep/.el-drawer__body{
+   overflow: hidden;
+ }
+}
 /deep/ .el-drawer__header {
   color: #444;
   font-size: 20px;