优化bug

This commit is contained in:
24kycj
2025-03-31 20:33:06 +08:00
parent 8d3fd6b4d2
commit 1589efc667
4 changed files with 150 additions and 142 deletions
+5 -5
View File
@@ -206,10 +206,10 @@ const defaultData = {
system_ip: '', //主机IP
system_name: '', //主机名称
is_set_cddev: 0,
// 左右盘仓
// 左右光盘桶
strong_list: [
{
strong_pos: 1, // 1:右盘仓2:左盘仓
strong_pos: 1, // 1:右光盘桶2:左光盘桶
cd_type: 1, //CD类型:CD1DVD2 DVD_DL:3BD4,BD_DL:5,BD_TL:6,BD_QL:7
cd_num: 0
},
@@ -360,7 +360,7 @@ const actions = {
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '设备门盖被打开,请关闭门盖。' } })
}
if (info.calibration_flag) {
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '请校准设备。' } })
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '请校准打印机。' } })
}
commit('setData', { name: 'printer_info', data: info })
// 驱动信息
@@ -488,7 +488,7 @@ const actions = {
if (data.resp_info.res_code === 0) {
} else {
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '设置盘仓失败' } })
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '设置光盘桶失败' } })
}
} else if (data.resp_name === 'setCDDeviceRes') {
if (data.resp_info.res_code === 0) {
@@ -506,7 +506,7 @@ const actions = {
if (data.resp_info.res_code === 0) {
} else {
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '校准盘仓失败' } })
commit('setData', { name: 'printer_error', data: { type: 'error', notify: '校准光盘桶失败' } })
}
} else if (data.resp_name === 'CaliPrinterRes') {
if (data.resp_info.res_code === 0) {