zhongshujie
2024-12-19 b77e8e776af4d81e748e9e21d51b64a11085a195
pages/scanResult/index.js
@@ -98,13 +98,14 @@
          wx.showModal({
            title: '温馨提示',
            content: res,
            showCancel: false
            showCancel: false,
            success(res) {
              if (res.confirm)
                wx.switchTab({
                  url: '/pages/home/home',
                })
            }
          })
          setTimeout(() => {
            wx.navigateTo({
              url: '/pages/codeRecord/index',
            })
          }, 2500);
        });
    } else {
      let that = this;
@@ -144,7 +145,9 @@
          showCancel: false,
          success(res) {
            if (res.confirm) {
              wx.navigateBack()
              wx.switchTab({
                url: '/pages/home/home',
              })
            }
          }
        })