riku
2022-08-26 9f78f3f014a3423ea3fcab8f9f1056c57cd47fc8
pages/promisefile/promisefile.js
@@ -55,6 +55,7 @@
  startSign() {
    var that = this
    wx.navigateTo({
      url: '/pages/promisesign/promisesign',
      events: {
@@ -64,6 +65,27 @@
        }
      },
    })
    // wx.getStorage({
    //   key: 'signPath',
    //   success: (result) => {
    //     console.log(result.data);
    //     that.signOver(result.data)
    //   },
    //   fail: (res) => {
    //     console.log(res);
    //     wx.navigateTo({
    //       url: '/pages/promisesign/promisesign',
    //       events: {
    //         onSignSuccess: function (imgPath) {
    //           console.log('signover:' + imgPath);
    //           that.signOver(imgPath)
    //         }
    //       },
    //     })
    //   },
    //   complete: (res) => {},
    // })
  },
  signOver(imgPath) {