mirror of
https://github.com/openharmony/third_party_jsframework.git
synced 2026-07-19 14:33:33 -04:00
fix(usb):add DRP and NUM_MODES mock
Signed-off-by: wu-chengwen <wuchengwen4@huawei.com>
This commit is contained in:
@@ -88,8 +88,10 @@ export function mockUsb() {
|
||||
|
||||
const PortModeType = {
|
||||
NONE: '[PC Preview] unknow NONE',
|
||||
DFP: '[PC Preview] unknow DFP',
|
||||
UFP: '[PC Preview] unknow UFP',
|
||||
DFP: '[PC Preview] unknow DFP',
|
||||
DRP: '[PC Preview] unknow DRP',
|
||||
NUM_MODES: '[PC Preview] unknow NUM_MODES',
|
||||
};
|
||||
|
||||
const USBPortStatus = {
|
||||
|
||||
Reference in New Issue
Block a user