XiaoMu-PosSystem icon indicating copy to clipboard operation
XiaoMu-PosSystem copied to clipboard

【BUG】点击改数量,改价无反应;挂单量≥2时双击会白屏;快捷键失效

Open JasonLeeForOnly opened this issue 10 months ago • 2 comments

大佬,谢谢你提供优秀的项目。我使用的是你打包在relase中的版本,发现如下三个问题:

系统环境

  • windows 11
  • 无线外接键盘

问题描述

  1. 点击改数量,改价无反应 image
  2. 挂单量≥2时双击会白屏,卡死(并不是百分百复现,但是概率较高) image
  3. 快捷键全部失效

JasonLeeForOnly avatar Apr 01 '24 02:04 JasonLeeForOnly

Some suggestions for reference only.

For Question 1:

You can try again after adding the product and entering the target quantity/target price in the search box.

Code:

client/src/views/Home/Main/market/Cash/index.jsx Line:148-192

image

For Question 3

According to the code, the shortcut key is triggered through the search box. So when using shortcut keys, it is necessary to keep the search box focused.

Code:

client/src/views/Home/Main/market/Cash/CashLeft/BarcodeInputAndTotal.jsx Line 74-81 125-133

image

image

Guangyaochenyu avatar Apr 01 '24 04:04 Guangyaochenyu

Some suggestions for reference only.

For Question 1:

You can try again after adding the product and entering the target quantity/target price in the search box.

Code:

client/src/views/Home/Main/market/Cash/index.jsx Line:148-192

image

For Question 3

According to the code, the shortcut key is triggered through the search box. So when using shortcut keys, it is necessary to keep the search box focused.

Code:

client/src/views/Home/Main/market/Cash/CashLeft/BarcodeInputAndTotal.jsx Line 74-81 125-133

image

image

Thanks,really helpfull.

JasonLeeForOnly avatar Apr 01 '24 05:04 JasonLeeForOnly