zouyu
2023-12-26 f43d4e9964768d6c8973bd271ace6f1ed04e2281
Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
已修改2个文件
19 ■■■■ 文件已修改
src/views/common/qrCodeApp.vue 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
vue.config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/common/qrCodeApp.vue
@@ -27,7 +27,7 @@
    data() {
        return {
            isShow: true,
            camera: "front",
            camera: "rear",
            result: "", // 扫码结果信息
            error: "" // 错误信息
        };
@@ -48,14 +48,13 @@
        // 相机反转
        switchCamera() {
            switch (this.camera) {
                //前置
                case 'front':
                    //转后置
                    this.camera = 'rear'
                    break
                    //反之
                //反之
                case 'rear':
                    this.camera = 'front'
                this.camera = 'front'
                break
                case 'front':
                    //后置
                    this.camera = 'rear'
                    break
                default:
                    this.$toast('错误')
vue.config.js
@@ -5,9 +5,9 @@
// const url = 'http://192.168.32.45:9999'
// const url = 'http://192.168.2.7:9999'
const url = 'http://192.168.2.7:9999'
const url = 'http://localhost:9999'
// const url = 'http://localhost:9999'
const localUrl = 'http://localhost:8089'