xx
This commit is contained in:
@@ -333,7 +333,6 @@ export default function DeviceAccessPage() {
|
||||
if (modalType === 'product') {
|
||||
form.setFieldValue('modelId', selectedModelId);
|
||||
const { modelId, limitConfig, actionConfig, ...params } = values;
|
||||
console.log('提交的产品数据:', { ...params, modelId, limitConfig, actionConfig }); // 👈 这里可以看到提交的数据结构
|
||||
|
||||
const finalLimitConfig = {};
|
||||
if (limitConfig) {
|
||||
|
||||
@@ -51,7 +51,6 @@ export default function MenuList() {
|
||||
};
|
||||
|
||||
getMenuList(params).then(res => {
|
||||
console.log(res, "res")
|
||||
if (res.code === 200) {
|
||||
const data = res.rows || [];
|
||||
setRawMenuList(data);
|
||||
|
||||
@@ -194,7 +194,6 @@ const SerialNumGenerate = () => {
|
||||
const generateQRCode = async () => {
|
||||
try {
|
||||
const values = await form.validateFields();
|
||||
console.log(values, "jnjn")
|
||||
const { model, config, type, country, province } = values;
|
||||
const ts = Date.now();
|
||||
const suffix = generateSerialSuffix();
|
||||
@@ -244,7 +243,6 @@ const SerialNumGenerate = () => {
|
||||
try {
|
||||
setLoading(true);
|
||||
const values = form.getFieldsValue();
|
||||
console.log(values, "oiii", types)
|
||||
const model = models.find(m => m.displayName === values.model);
|
||||
const config = configs.find(c => c.displayName === values.config);
|
||||
const type = types.find(t => t.storeValue === values.type);
|
||||
@@ -355,7 +353,6 @@ const SerialNumGenerate = () => {
|
||||
key: 'type',
|
||||
render: (_, r) => {
|
||||
const qrInfo = parseQrJson(r.qrJson);
|
||||
console.log(types, qrInfo.type)
|
||||
const typeItem = types.find(t => t.storeValue === qrInfo.type);
|
||||
return typeItem?.displayName || qrInfo.type || '-';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user