Commit f244e5af authored by 田翔's avatar 田翔

fix: 代码修复

parent a61b03fb
{
"name": "panda-xform",
"version": "5.5.2",
"description": "5.5.2 增加变量",
"version": "5.5.3",
"description": "5.5.3 增加参数传递",
"keywords": [
"panda-xform"
],
......
......@@ -224,7 +224,7 @@ const Account = (props, ref) => {
const { type, id } = operation
setSubmitLoading(true)
if (type === '添加') {
let params = { accountTable: accountName, id: operation.id, values: formValue, relationForm }
let params = { userID, accountTable: accountName, id: operation.id, values: formValue, relationForm }
const { code, data, msg } = await SaveTableDataInfo(params)
if (code === 0) {
message.success('保存成功!')
......@@ -235,7 +235,7 @@ const Account = (props, ref) => {
}
}
if (type === '编辑') {
let params = { accountTable: accountName, id: operation.id, values: formValue, relationForm }
let params = { userID, accountTable: accountName, id: operation.id, values: formValue, relationForm }
const { code, data, msg } = await EditTableDataInfo(params)
if (code === 0) {
message.success('修改成功!')
......
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