|
|
|
@ -48,6 +48,11 @@ export class UserConfigStore extends Singleton
|
|
|
|
|
configs["薄背板"] = cloneConfig;
|
|
|
|
|
|
|
|
|
|
cloneConfig = cloneBehindData(cloneConfig);
|
|
|
|
|
cloneConfig.option.thickness = 18;
|
|
|
|
|
cloneConfig.option.leftExt = 0;
|
|
|
|
|
cloneConfig.option.rightExt = 0;
|
|
|
|
|
cloneConfig.option.topExt = 0;
|
|
|
|
|
cloneConfig.option.bottomExt = 0;
|
|
|
|
|
cloneConfig.option.name = "上挡板";
|
|
|
|
|
cloneConfig.option.boardPosition = BehindHeightPositon.ForTop;
|
|
|
|
|
cloneConfig.option.boardRelative = BrRelativePos.Front;
|
|
|
|
@ -137,7 +142,7 @@ export class UserConfigStore extends Singleton
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
let data = await PostJson(ConfigUrls.Get, { key }, false);
|
|
|
|
|
if (data.err_code === RequestStatus.Ok && data.value)
|
|
|
|
|
if (data.err_code === RequestStatus.Ok && data.value && data.value !== "{}")
|
|
|
|
|
{
|
|
|
|
|
configs = JSON.parse(data.value);
|
|
|
|
|
appCache.set(key, JSON.parse(data.value));
|
|
|
|
|