fix: 修复 const 变量赋值错误

htmlString 使用 const 声明但后续尝试用 += 修改
改为 let 声明允许修改
This commit is contained in:
2026-03-26 10:47:46 +08:00
parent 954ae1c0a4
commit fcf358f990

View File

@@ -46,7 +46,7 @@ function downloadpdf(data) {
rural: "农村",
};
const htmlString = `
let htmlString = `
<!DOCTYPE html>
<html lang="zh-CN">
<head>