Commit 79f4e97e by chenwq

fix: 修复模板表单数据赋值时的字符串拼接问题

1 parent 54fb528b
......@@ -180,7 +180,7 @@ Page({
const needDefaultCodeList = Object.keys(reportFirstAutoObj);
if (needDefaultCodeList.includes(routeParams.code)) {
reportFirstAutoObj[routeParams.code]?.list.forEach((item) => {
(tmlpFormData[item.attrName] = resObj[item.valueObj]?.data.totalOutputValue || 0) + "";
tmlpFormData[item.attrName] = (resObj[item.valueObj]?.data.totalOutputValue || 0) + "";
});
this.setData(
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!