|
@@ -124,7 +124,7 @@ class ParaSettingCoordinator {
|
|
|
|
|
|
handleNewExposureMode(newValue) {
|
|
|
// 将数字转换为字符串: 0 -> 'time', 1 -> 'mAs'
|
|
|
- const mode = newValue === 0 ? 'time' : 'mAs';
|
|
|
+ const mode = newValue === '0' ? 'time' : 'mAs';
|
|
|
console.info('有新的曝光模式从设备端到来。handleNewExposureMode', newValue, '转换为:', mode);
|
|
|
this.dispatch({
|
|
|
type: setExposureModeThunk.fulfilled.type,
|