XMOJ-Script-dev / XMOJ-Script

XMOJ增强脚本
https://www.xmoj-bbs.tech
GNU General Public License v3.0
4 stars 5 forks source link

[Bug] 状态页面显示歪斜(运行完成导致) #392

Open boomzero opened 5 months ago

boomzero commented 5 months ago

检查项

描述

image

重现步骤

No response

控制台错误信息

No response

PythonSmall-Q commented 5 months ago

???

langningchen commented 5 months ago

因为问题ID是0,所以渲染出错

PythonSmall-Q commented 5 months ago

欸不对呀为什么会有0的

boomzero commented 5 months ago

自动获取数据

On Jan 25, 2024, at 22:05, Shan Wenxiao @.***> wrote:

欸不对呀为什么会有0的

— Reply to this email directly, view it on GitHub https://github.com/XMOJ-Script-dev/XMOJ-Script/issues/392#issuecomment-1910284396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZIBX46VAUJZGIRCFFTYQJRD5AVCNFSM6AAAAABCKLKGY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGI4DIMZZGY. You are receiving this because you authored the thread.

boomzero commented 5 months ago

@PythonSmall-Q 但是这是hustoj的bug吧, report 一下?

langningchen commented 5 months ago

不是的 hustoj 的,但是尽管是,最新版也可能依旧修复好了

boomzero commented 5 months ago

@langningchen 你convince 高老师更新一下hustoj, 再convince他改一下theme, xmoj-script就可以不要了

boomzero commented 5 months ago

@langningchen wtf are you thinking?

image
langningchen commented 5 months ago

@langningchen wtf are you thinking?

image

😆

langningchen commented 5 months ago

不过有什么问题吗?

langningchen commented 5 months ago

这行代码看起来没用,不过实际上是有用的。

langningchen commented 5 months ago

他能将一个HTML去除格式,只保留里面的文字

PythonSmall-Q commented 5 months ago

我问过,他说更新不了,因为改动太多了,否则白改了

boomzero commented 5 months ago

他能将一个HTML去除格式,只保留里面的文字

~删了, 没区别, 所以没用~

boomzero commented 5 months ago

我知道为什么是, @langningchen 的锅

因为pid是null

On Jan 29, 2024, at 22:11, Shan Wenxiao @.***> wrote:

我问过,他说更新不了,因为改动太多了,否则白改了

— Reply to this email directly, view it on GitHub https://github.com/XMOJ-Script-dev/XMOJ-Script/issues/392#issuecomment-1914773749, or unsubscribe https://github.com/notifications/unsubscribe-auth/AULMJZPN4VIRKNTTOZ6HXFDYQ6UYLAVCNFSM6AAAAABCKLKGY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJUG43TGNZUHE. You are receiving this because you authored the thread.

boomzero commented 5 months ago

因为 @langningchen 获取pid 的方式是去localstorage中找 如果找不到就是null

langningchen commented 5 months ago

确实