Browse Source

fix: 修复复制粘贴时获取的样式,下划线变成border-bottom的问题

master
菜猫子neko 4 years ago
parent
commit
e38bd4e6dc
  1. 12
      src/global/getdata.js

12
src/global/getdata.js

@ -372,18 +372,6 @@ export function getFontStyleByCell(cell,checksAF,checksCF, isCheck=true){
style += "text-decoration: line-through;";
}
if(key == "un" && (value == "1" || value == "3")){
let color = cell["_color"];
if(color==null){
color = cell["fc"];
}
let fs = cell["_fontSize"];
if(fs==null){
fs = cell["fs"];
}
style += "border-bottom: "+ Math.floor(fs/9) +"px solid "+ color +";";
}
}
return style;
}

Loading…
Cancel
Save