Commit 82816325 authored by 田翔's avatar 田翔

fix: panda-xform

parent acc3d863
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.3.5", "version": "2.3.6",
"description": "2.3.5: 逻辑优化", "description": "2.3.6: 问题调整",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -97,7 +97,6 @@ const getFieldName = (configs, tableName) => { ...@@ -97,7 +97,6 @@ const getFieldName = (configs, tableName) => {
} }
const automaticComputation = async (params) => { const automaticComputation = async (params) => {
console.log('form.getValues()', params?.form?.getValues())
if ((new Date().getTime() - params.startTime) < 1000) return if ((new Date().getTime() - params.startTime) < 1000) return
let param = { let param = {
tableName: params.tableName, tableName: params.tableName,
...@@ -147,7 +146,6 @@ export const getWatch = (schema, form, startTime) => { ...@@ -147,7 +146,6 @@ export const getWatch = (schema, form, startTime) => {
} }
}) })
} }
console.log('paths', paths)
if (Array.isArray(paths)) { if (Array.isArray(paths)) {
paths.forEach(v => { paths.forEach(v => {
watch[v] = () => { watch[v] = () => {
...@@ -166,6 +164,7 @@ export const getWatch = (schema, form, startTime) => { ...@@ -166,6 +164,7 @@ export const getWatch = (schema, form, startTime) => {
} }
}) })
} }
console.log('watch', watch)
return watch return watch
} }
......
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