Commit 32ff171b by luyt

fix:调整战报的名字的长度

1 parent 7d6028b0
...@@ -45,6 +45,7 @@ Component({ ...@@ -45,6 +45,7 @@ Component({
let proportion = ImgWidth / 247 let proportion = ImgWidth / 247
let actualHeight = ImgHeight / proportion let actualHeight = ImgHeight / proportion
console.log(actualHeight) console.log(actualHeight)
n.activityName = n.activityName.length > 12 ? `${n.activityName.substring(0, 12)}...` : n.activityName
const drawfun = new Draw( const drawfun = new Draw(
{ {
width: 279, width: 279,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!