Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

滴答清单账号绑定报错 #1307

Open
JackTheMico opened this issue Sep 20, 2024 · 1 comment
Open

滴答清单账号绑定报错 #1307

JackTheMico opened this issue Sep 20, 2024 · 1 comment

Comments

@JackTheMico
Copy link

Bug 描述

滴答清单账号绑定报错

复现步骤

重现的步骤:

  1. 点击此拓展
  2. 点击绑定账号
  3. 选择滴答清单
  4. 看到错误

预期行为

希望能够正常绑定滴答清单账号。

截图

image

请填写以下信息

  • 笔记平台: 滴答清单
  • 浏览器: vivaldi
  • 版本: 6.8.3381.50 (Stable channel) (64 位)

其他背景

在此处添加有关该问题的任何其他上下文。

@lilixxs
Copy link

lilixxs commented Jan 19, 2025

接口读取的参数没有判空,我是个人版免费版的账号,返回的数据中读取的这个值可能为空
Image

导致这里的 foreach 方法执行报错
Image

加上一个判空逻辑,如果监测到是空的就不给对应属性写值就行

PS: 插件用的接口应该是非公开的接口,公开接口 版本都是 V1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants