diff --git a/docs/component/barcode.md b/docs/component/barcode.md index 328afda6448ea375a86adb2d2beed6112a5a7914..22291595917f45b672fe3c7500369aef43a58429 100644 --- a/docs/component/barcode.md +++ b/docs/component/barcode.md @@ -118,6 +118,8 @@ message|string|失败描述 console.log("fail1:" + JSON.stringify(e)); }, toStart: function() { + // 重复点击开始扫描会有一部分机型不能正常使用,需要先取消后才能正常使用 + this.$refs.barcode.cancel(); this.$refs.barcode.start({ conserve: true, filename: '_doc/barcode/'