客户端打印默认设置
This commit is contained in:
@ -99,7 +99,7 @@
|
||||
// 绘制页面
|
||||
let html = [];
|
||||
for (const printer of data.listPrinter) {
|
||||
if (printer.name === defaultPrinter) {
|
||||
if (printer === defaultPrinter) {
|
||||
html.push(`<a href="#" class="list-group-item list-group-item-action active" data-name="${printer}">
|
||||
<i class="bi bi-printer-fill"></i> ${printer}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user