WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2022-10-18 d4c43fd252707c6d682f1008aabcae0f53015e02
允许从相册中扫码
2 files modified
4 ■■■■ changed files
forms/input/CInputExpressCode.vue 2 ●●● patch | view | raw | blame | history
forms/input/CInputScanCode.vue 2 ●●● patch | view | raw | blame | history
forms/input/CInputExpressCode.vue
@@ -65,7 +65,7 @@
        handleScan() {
            this.scaning = true;
            Taro.scanCode({
                onlyFromCamera: true,
                onlyFromCamera: false,
                scanType: 'barCode',
                success: res => {
                    this.scaning = false;
forms/input/CInputScanCode.vue
@@ -80,7 +80,7 @@
            this.scaning = true;
            if (type === 'taro') {
                Taro.scanCode({
                    onlyFromCamera: true,
                    onlyFromCamera: false,
                    scanType: 'barCode',
                    success: res => {
                        this.scaning = false;