Skip to content

使用游标分页前端报错,传统分页不报错 #3368

@treekabc

Description

@treekabc

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed. / 请使用英语提交,否则会被关闭。
  • Please do not modify this template :) and fill in all the required fields.

Cloudreve version

4.15.0

Pro or Community Edition

Community (Open Source)

Database type

PostgreSQL

Browser and operating system

edge 146.0.3856.59

Steps to reproduce

使用游标分页向下滑动鼠标滚轮进行浏览,页面报错。改用传统分页切换页面,不报错。报错如下:
Error: Invalid cloudreve uri
Error: Invalid cloudreve uri
at new wt (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:31965)
at Mu (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:36815)
at https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:40511
at Object.useMemo (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:25868)
at br.useMemo (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:9:6208)
at l0 (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:40499)
at https://cloud.ugl.cc/assets/index-B0u0-akV.js:241:106952
at tS (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:19539)
at M7 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:3139)
at SM (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:2351)
at vT (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:1893)
at $M (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:47351)
at BM (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39790)
at Tq (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39718)
at $2 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39570)
at q7 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:35934)
at TT (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:36738)
at _c (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:3279)
at Fd (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:37186)
at Sa.flushSync (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:56335)
at HTMLDivElement. (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:103:16991)

✔️ Expected Behavior

使用游标分页向下滑动鼠标滚轮进行浏览,页面报错。改用传统分页切换页面,不报错。报错如下:
Error: Invalid cloudreve uri
Error: Invalid cloudreve uri
at new wt (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:31965)
at Mu (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:36815)
at https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:40511
at Object.useMemo (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:25868)
at br.useMemo (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:9:6208)
at l0 (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:40499)
at https://cloud.ugl.cc/assets/index-B0u0-akV.js:241:106952
at tS (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:19539)
at M7 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:3139)
at SM (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:2351)
at vT (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:1893)
at $M (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:47351)
at BM (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39790)
at Tq (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39718)
at $2 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39570)
at q7 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:35934)
at TT (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:36738)
at _c (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:3279)
at Fd (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:37186)
at Sa.flushSync (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:56335)
at HTMLDivElement. (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:103:16991)

❌ Actual Behavior

使用游标分页向下滑动鼠标滚轮进行浏览,页面报错。改用传统分页切换页面,不报错。报错如下:
Error: Invalid cloudreve uri
Error: Invalid cloudreve uri
at new wt (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:31965)
at Mu (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:36815)
at https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:40511
at Object.useMemo (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:25868)
at br.useMemo (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:9:6208)
at l0 (https://cloud.ugl.cc/assets/index-B0u0-akV.js:192:40499)
at https://cloud.ugl.cc/assets/index-B0u0-akV.js:241:106952
at tS (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:19539)
at M7 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:3139)
at SM (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:2351)
at vT (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:1893)
at $M (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:47351)
at BM (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39790)
at Tq (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39718)
at $2 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:39570)
at q7 (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:35934)
at TT (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:36738)
at _c (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:38:3279)
at Fd (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:37186)
at Sa.flushSync (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:40:56335)
at HTMLDivElement. (https://cloud.ugl.cc/assets/react-CV3HRGEF.js:103:16991)

Addition context information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions