fix: empty list don't render placeholder
This commit is contained in:
@@ -1823,7 +1823,7 @@ export class Draw {
|
||||
this.waterMark.render(ctx)
|
||||
}
|
||||
// 绘制空白占位符
|
||||
if (this.elementList.length <= 1) {
|
||||
if (this.elementList.length <= 1 && !this.elementList[0]?.listId) {
|
||||
this.placeholder.render(ctx)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user