浏览代码

修改杂音选中项bug

zhouna 6 年之前
父节点
当前提交
d54073a78c
共有 2 个文件被更改,包括 2 次插入1 次删除
  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;
 }