@@ -22,7 +22,7 @@
"electron-updater": "^4.3.9",
"element-ui": "^2.15.6",
"moment": "^2.29.1",
- "qrcodejs2": "0.0.2",
+ "qrcodejs2-fix": "0.0.1",
"qs": "^6.10.1",
"vue": "^2.6.11",
"vue-router": "^3.5.3",
@@ -2,7 +2,7 @@
<div id="app">
<router-view />
<!-- 语音播报 -->
- <iframe id="iframeDom" allow="autoplay" style="display:none" :src="src" sandbox="allow-scripts" ></iframe>
+ <iframe id="iframeDom" allow="autoplay" style="display:none" :src="src" sandbox="allow-scripts"></iframe>
<audio class="audio" ref="audio" :src="url" controlsList="nodownload" controls autoplay hidden>
</audio>
<!-- usb自动打印 -->
@@ -3,7 +3,7 @@
</template>
<script>
-import QRCode from "qrcodejs2";
+import QRCode from "qrcodejs2-fix";
import { getLodop } from "./LodopFuncs.js";
import { mapGetters } from "vuex";
export default {
@@ -25,7 +25,7 @@
import { getPayResult } from "../api/amount.js";
data() {