Переглянути джерело

Merge branch 'lin_增值服务' of ssh://gogs.zfire.top:2222/zfire-front/zfire-newmall-admin into develop

linwenxin 1 рік тому
батько
коміт
bce449897f

+ 3 - 1
src/views/valueAddedService/orderSettleManag/pages/offline.vue

@@ -217,7 +217,9 @@ export default {
     wxPay(id) {
       increOrderSettleGeneratePayCode({ id }).then(res => {
         this.codeUrl = res.data.codeUrl
-        this.$refs.payQRCode.innerHTML = '';
+        if(this.$refs?.payQRCode?.innerHTML){
+          this.$refs.payQRCode.innerHTML = '';
+        }
         this.$nextTick(() => {
           new QRCode(this.$refs.payQRCode, {
             text: res.data.codeUrl,