zhongshujie
16 小时以前 c0ff00c32bca4077b140d0d69b2863851ae31273
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({