Skip to content

mmRouter增加了大数限制之后,导致val为undifine #826

@supersoup

Description

@supersoup

mmRouter/mmRouter.js 第123行

if(!(value.match(/^[0-9]{17,}$/g) || value > "9007199254740992")) val = JSON.parse(value)

如果 value = "abc";
则 value > "9007199254740992" 为 true,
导致 val 为 undifine,
使得路由功能无效.

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