Commit 3736464f authored by 田翔's avatar 田翔

fix: 二维码编辑器优化

parent cd65bdca
Pipeline #88711 passed with stages
...@@ -267,9 +267,10 @@ const QRCodeDesign = (props, ref) => { ...@@ -267,9 +267,10 @@ const QRCodeDesign = (props, ref) => {
const save = async () => { const save = async () => {
let params = { let params = {
ID: parentQRCode.ID, ID: parentQRCode.ID,
// accountName: values.accountName, accountName: parentQRCode.AccountName,
// deviceName: values.accountName, deviceCode: null,
// deviceCode: values.accountName, deviceCodeAlias: null,
deviceName: null,
corporateName: values.CorporateName, corporateName: values.CorporateName,
title: values.Title, title: values.Title,
labelLogoUrl: values.LabelLogoUrl, labelLogoUrl: values.LabelLogoUrl,
...@@ -279,6 +280,7 @@ const QRCodeDesign = (props, ref) => { ...@@ -279,6 +280,7 @@ const QRCodeDesign = (props, ref) => {
const { code, data } = await EditOrAddDeviceQRCodeConfig(params) const { code, data } = await EditOrAddDeviceQRCodeConfig(params)
if (code === 0) { if (code === 0) {
message.success('保存成功!') message.success('保存成功!')
setShow(false)
getDataSource(record) getDataSource(record)
} else { } else {
message.error('保存失败!') message.error('保存失败!')
......
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