Browse Source

修改杂音选中项bug

zhouna 6 years ago
parent
commit
d54073a78c
2 changed files with 2 additions and 1 deletions
  1. 1 1
      src/components/SpreadDrop/index.less
  2. 1 0
      src/store/actions/checkBody.js

+ 1 - 1
src/components/SpreadDrop/index.less

@@ -12,7 +12,7 @@
     // width: 200px;
     vertical-align: top;
     margin-left: 8px;
-    max-height: 200px;
+    max-height: 220px;
     overflow-y: auto;
   }
   .independent{

+ 1 - 0
src/store/actions/checkBody.js

@@ -87,6 +87,7 @@ export function addLabelItem(state,action){
   if(!data) return res;
   res.data.splice(+i+2,0,JSON.parse(data),textLabel);
   res.saveText.splice(+i+2,0,'','');
+  res.selecteds.splice(+i+2,0,null,null);
   res.update = Math.random();
   return res;
 }