wangziqian před 5 roky
rodič
revize
858a67157b

+ 1 - 1
src/components/input/normalArea.vue

@@ -153,7 +153,7 @@ export default {
       let newStr = ''
       this.inputValue.replace(reg, function(match, ...rest) {
         newStr = rest[1].substring(0, rest[0]) + file + rest[1].substring(rest[0] + match.length, rest[1].length)
-        return rest[1].substring(0, rest[0]) + file + rest[1].substring(rest[0] + match.length, rest[1].length)
+        return rest[1]
       })
       this.$nextTick(() => {
         this.inputValue = newStr

+ 2 - 2
src/views/quality/requireStatistics.vue

@@ -463,7 +463,7 @@ export default {
   .defect-main {
     padding: 20px 20px 0 20px;
     height:100%;
-    width: 100%;
+    width:calc(100%-10px);
     background:#ffffff;
     margin: 10px;
     border-radius: 4px;
@@ -578,7 +578,7 @@ export default {
 }
 .charts-main {
   padding-bottom: 20px;
-  width:calc(100%-60px);
+  width:calc(100%-10px);
   background:#ffffff;
   margin: 10px;
   border-radius: 4px;

+ 2 - 2
src/views/quality/taskStatistics.vue

@@ -487,7 +487,7 @@ export default {
   .defect-main {
     padding: 20px 20px 0 20px;
     height:100%;
-    width: 100%;
+    width:calc(100%-10px);
     background:#ffffff;
     margin: 10px;
     border-radius: 4px;
@@ -602,7 +602,7 @@ export default {
 }
 .charts-main {
   padding-bottom: 20px;
-  width:calc(100%-60px);
+  width:calc(100%-10px);
   background:#ffffff;
   margin: 10px;
   border-radius: 4px;