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

fix: 二维码编辑器优化

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