面板版本:宝塔linux面板 Beta 7.8.19
系统版本:CentOS 7.6.1810 x86_64(Py3.7.4)
浏览器版本:Microsoft Edge 版本 95.0.1020.40 (官方内部版本) (64 位)
问题现象:更新按钮上有红点,点击没有反应- 请求:ajax?action=UpdatePanel
- 返回:
- "Traceback (most recent call last):\n File "class/flask_sockets.py", line 30, in __call__\n handler, values = adapter.match()\n File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "class/ajax.py", line 533, in UpdatePanel\n updateInfo = json.loads(public.httpPost(sUrl,data))\n File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 341, in loads\n raise TypeError(f'the JSON object must be str, bytes or bytearray, '\nTypeError: the JSON object must be str, bytes or bytearray, not bool\n"
- 控制台返回:
- <blockquote>1、index.js?version=7.8.19&repair=7eAXNksAHfTsWYQa:496
- Uncaught TypeError: Cannot read
复制代码 重现方式:
点击后,一直转圈
然后提示框自己就消失了
|
|