|
|
@ -320,7 +320,7 @@ export const getHtmls = (arrs, htmldemo) => { |
|
|
|
let strhtml = JSON.parse(JSON.stringify(htmldemo)); |
|
|
|
let strhtml = JSON.parse(JSON.stringify(htmldemo)); |
|
|
|
for (let key in item) { |
|
|
|
for (let key in item) { |
|
|
|
let str = '${' + key + '}'; |
|
|
|
let str = '${' + key + '}'; |
|
|
|
strhtml = strhtml.replace(str, item[key]); |
|
|
|
strhtml = strhtml.replace(new RegExp(str, 'g'), item[key]); |
|
|
|
} |
|
|
|
} |
|
|
|
html += strhtml; |
|
|
|
html += strhtml; |
|
|
|
}); |
|
|
|
}); |
|
|
|