Forráskód Böngészése

修改杂音选中项bug

zhouna 6 éve
szülő
commit
d54073a78c

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

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

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

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