fix:设置默认设备

This commit is contained in:
kissnavel 2025-01-13 18:44:05 +08:00
parent a9f6b8ad36
commit 98a889994c
2 changed files with 4 additions and 4 deletions

View file

@ -41,8 +41,8 @@ export async function toSetDefaultDevice() {
return false;
}
settings.setConfig('device', {
productName: info.deviceProduct,
productType: info.deviceName,
productName: info.deviceName,
productType: info.deviceProduct,
modelName: info.deviceModel,
osVersion: info.androidVersion,
deviceInfo: info.deviceFingerprint,

View file

@ -247,7 +247,7 @@ export function supportGuoba() {
},
{
field: 'device.productName',
label: 'productName(deviceProduct)',
label: 'productName(deviceName)',
bottomHelpMessage: '设置默认设备productName字段',
component: 'Input',
componentProps: {
@ -256,7 +256,7 @@ export function supportGuoba() {
},
{
field: 'device.productType',
label: 'productType(deviceName)',
label: 'productType(deviceProduct)',
bottomHelpMessage: '设置默认设备productType字段',
component: 'Input',
componentProps: {