Commit 506ddc6f authored by 田翔's avatar 田翔

fix: BUG修复

parent 7f20709b
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.3.2", "version": "2.3.4",
"description": "2.3.2: 监听所有关联表单", "description": "2.3.4: BUG修复",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -115,7 +115,7 @@ const getFieldName = (configs, tableName) => { ...@@ -115,7 +115,7 @@ const getFieldName = (configs, tableName) => {
} }
const automaticComputation = async (params) => { const automaticComputation = async (params) => {
if ((new Date().getTime() - params.startTime) < 1000) return if ((new Date().getTime() - params.startTime) < 2000) return
let param = { let param = {
tableName: params.tableName, tableName: params.tableName,
filedFormulas: params.filedFormulas, filedFormulas: params.filedFormulas,
...@@ -156,7 +156,6 @@ export const getWatch = (schema, form, startTime) => { ...@@ -156,7 +156,6 @@ export const getWatch = (schema, form, startTime) => {
} else { } else {
// item = { fields: getFieldName(configs, s.tableName) } // item = { fields: getFieldName(configs, s.tableName) }
} }
console.log('item', item)
if (item) { if (item) {
if (Array.isArray(item.fields)) { if (Array.isArray(item.fields)) {
item.fields.forEach(v => { item.fields.forEach(v => {
...@@ -187,7 +186,6 @@ export const getWatch = (schema, form, startTime) => { ...@@ -187,7 +186,6 @@ export const getWatch = (schema, form, startTime) => {
} }
}) })
} }
console.log('watch', watch)
return watch return watch
} }
......
import React, { useMemo } from 'react' import React, { useEffect } from 'react'
import { TimePicker } from 'antd' import { TimePicker } from 'antd'
import locale from 'antd/lib/date-picker/locale/zh_CN' import locale from 'antd/lib/date-picker/locale/zh_CN'
import moment from 'moment' import moment from 'moment'
......
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