Skip to content

【BUG】模组设置页面在编辑部分 MOD 配置时报错:removeChild 节点不匹配 #122

@buyun14

Description

@buyun14

问题描述:

饥荒前端管理面板:在【模组设置>>模组设置】中【点击/编辑/开关】部分mod配置时报错:

Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
Image

问题分析:

初步判断为部分mod配置信息格式与面板不兼容问题。
F12控制台可发现导致报错mod和正常mod区别如下

//正常mod
{
    "key": "3467053285",
    "value": {
        "xilin_xin_jn1": 114,
        "xilin_xin_jn2": 99,
        "xilin_xin_jn3": 118,
        "xilin_xin_gd": true,
        "xilin_xin_sz1": 12,
        "xilin_xin_sz2": 3,
        "xilin_xin_sz3": 9,
        "xilin_xin_sz4": 0.75,
        "xilin_xin_sz5": true,
        "xilin_xin_sz6": true
    }
}
//出错mod(缺少value属性)
{
    "key": "3517350311"
}
Image

涉及mod

(仅列举目前发现的,预估还有很多)
Myth Words Theme-神话书说主题(1991746508)
Combined Status[DST]组合状态服务器版(3517350311)

Image

建议标签:bug, mod-compatibility, needs-investigation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions