QYF-GitLab1
3 天以前 75b9f3c8b7959ed7d9930aef73e5cc16b2de1a78
packageBookService/pages/bookServices/detail/components/note/note.js
@@ -66,12 +66,21 @@
      });
    },
    openDialog() {
      loginInfo(app, (data) => {})
      if (data)
      const token = wx.getStorageSync(app.config.tokenKey);
      if (token) {
        this.setData({
          submitTitle: this.properties.bookInfo.name,
          showNoteDialog: true,
        });
      } else {
        loginInfo(app, (data) => {
          if (data)
            this.setData({
              submitTitle: this.properties.bookInfo.name,
              showNoteDialog: true,
            });
        })
      }
    },
    closeDialog() {
      this.setData({