控制台打印当前支持的平台
This commit is contained in:
@@ -435,4 +435,27 @@ export function scanImage() {
|
||||
}).finally(() => {
|
||||
__closed();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export const supportList = [
|
||||
{
|
||||
name: "bridge",
|
||||
support: inRuntime()
|
||||
},
|
||||
{
|
||||
name: "wx",
|
||||
support: isSupportWxScan()
|
||||
},
|
||||
{
|
||||
name: "web",
|
||||
support: isSupportWebScan()
|
||||
},
|
||||
{
|
||||
name: "image",
|
||||
support: isSupportImageScan()
|
||||
},
|
||||
{
|
||||
name: "scanner",
|
||||
support: true
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user