ll
liukangdong
2025-01-22 a5f40b4c2590a3d61592f1918d689d4932545248
h5/pages/polling/detail.vue
@@ -129,10 +129,12 @@
                     },
                     (decodeText, decodeResult) => {
                        if (decodeText) { //这里decodeText就是通过扫描二维码得到的内容
                           this.stopScan(); //关闭扫码功能
                           this.stopScan(); //关闭扫码功能
                           const index = decodeText.indexOf('ywid')
                           let pointCode = decodeText.slice(index + 5)
                           getPointRecordByCode({
                              taskId: this.id,
                              pointCode: decodeText
                              pointCode
                           }).then(ress => {
                              if (ress.data) {
                                 uni.navigateTo({