fix 修正参数templates
This commit is contained in:
parent
a9c12e0d7d
commit
29a70f6b8c
|
|
@ -47,11 +47,11 @@ function Ali(props) {
|
|||
children: ((0, jsx_runtime_1.jsxs)(antd_1.Form, tslib_1.__assign({ colon: true, labelAlign: "left", layout: "vertical", style: {
|
||||
marginTop: 10,
|
||||
} }, { children: [(0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "signName", name: "signName" }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(antd_1.Input, { placeholder: "\u8BF7\u8F93\u5165signName", type: "text", value: template.signName, onChange: function (e) {
|
||||
return setValue("".concat(idx, ".templateMsgs.").concat(name, ".signName"), e
|
||||
return setValue("".concat(idx, ".templates.").concat(name, ".signName"), e
|
||||
.target
|
||||
.value);
|
||||
} }) }) })), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "code", name: "code" }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(antd_1.Input, { placeholder: "\u8BF7\u8F93\u5165code", type: "text", value: template.code, onChange: function (e) {
|
||||
return setValue("".concat(idx, ".templateMsgs.").concat(name, ".code"), e
|
||||
return setValue("".concat(idx, ".templates.").concat(name, ".code"), e
|
||||
.target
|
||||
.value);
|
||||
} }) }) }))] }))),
|
||||
|
|
@ -125,11 +125,11 @@ function Tencent(props) {
|
|||
children: ((0, jsx_runtime_1.jsxs)(antd_1.Form, tslib_1.__assign({ colon: true, labelAlign: "left", layout: "vertical", style: {
|
||||
marginTop: 10,
|
||||
} }, { children: [(0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "signName", name: "signName" }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(antd_1.Input, { placeholder: "\u8BF7\u8F93\u5165signName", type: "text", value: template.signName, onChange: function (e) {
|
||||
return setValue("".concat(idx, ".templateMsgs.").concat(name, ".signName"), e
|
||||
return setValue("".concat(idx, ".templates.").concat(name, ".signName"), e
|
||||
.target
|
||||
.value);
|
||||
} }) }) })), (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "code", name: "code" }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(antd_1.Input, { placeholder: "\u8BF7\u8F93\u5165code", type: "text", value: template.code, onChange: function (e) {
|
||||
return setValue("".concat(idx, ".templateMsgs.").concat(name, ".code"), e
|
||||
return setValue("".concat(idx, ".templates.").concat(name, ".code"), e
|
||||
.target
|
||||
.value);
|
||||
} }) }) }))] }))),
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ function Ali(props: {
|
|||
e
|
||||
) =>
|
||||
setValue(
|
||||
`${idx}.templateMsgs.${name}.signName`,
|
||||
`${idx}.templates.${name}.signName`,
|
||||
e
|
||||
.target
|
||||
.value
|
||||
|
|
@ -181,7 +181,7 @@ function Ali(props: {
|
|||
e
|
||||
) =>
|
||||
setValue(
|
||||
`${idx}.templateMsgs.${name}.code`,
|
||||
`${idx}.templates.${name}.code`,
|
||||
e
|
||||
.target
|
||||
.value
|
||||
|
|
@ -422,7 +422,7 @@ function Tencent(props: {
|
|||
e
|
||||
) =>
|
||||
setValue(
|
||||
`${idx}.templateMsgs.${name}.signName`,
|
||||
`${idx}.templates.${name}.signName`,
|
||||
e
|
||||
.target
|
||||
.value
|
||||
|
|
@ -446,7 +446,7 @@ function Tencent(props: {
|
|||
e
|
||||
) =>
|
||||
setValue(
|
||||
`${idx}.templateMsgs.${name}.code`,
|
||||
`${idx}.templates.${name}.code`,
|
||||
e
|
||||
.target
|
||||
.value
|
||||
|
|
|
|||
Loading…
Reference in New Issue