Commit 820ebea1 authored by 田翔's avatar 田翔

fix: 计算属性参数优化

parent 4ba792f0
{
"name": "panda-xform",
"version": "5.7.7",
"description": "5.7.7 计算规则优化",
"version": "5.7.8",
"description": "5.7.8 计算属性参数优化",
"keywords": [
"panda-xform"
],
......
......@@ -32,7 +32,7 @@ const jsonToValues = (data, paths) => {
if (Array.isArray(paths)) {
paths.forEach(v => {
let fieldName = v.path.split('.')[1]
let fieldValue = '0'
let fieldValue = ''
let item = formValue.find(s => s.fieldName === fieldName)
if (item) {
fieldValue = item.fieldValue
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment