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

GM_cookie set处理有问题 #61

Closed
Rehtt opened this issue Apr 28, 2022 · 2 comments
Closed

GM_cookie set处理有问题 #61

Rehtt opened this issue Apr 28, 2022 · 2 comments

Comments

@Rehtt
Copy link
Contributor

Rehtt commented Apr 28, 2022

  case 'set': {
    if (!detail.url || !detail.name) {
      return reject(
        'set operation must have url or domain, and the name must exist'
      );
    }

提示写的是url或domain不能为空,但是只判断了url,导致只写了domain但还是提示这个错误

@Rehtt
Copy link
Contributor Author

Rehtt commented Apr 28, 2022

#62

@CodFrm
Copy link
Member

CodFrm commented Apr 28, 2022

感谢!

@CodFrm CodFrm closed this as completed Apr 28, 2022
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