fix: 修复 const 变量赋值错误
htmlString 使用 const 声明但后续尝试用 += 修改 改为 let 声明允许修改
This commit is contained in:
@@ -46,7 +46,7 @@ function downloadpdf(data) {
|
||||
rural: "农村",
|
||||
};
|
||||
|
||||
const htmlString = `
|
||||
let htmlString = `
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
|
||||
Reference in New Issue
Block a user