Skip to content

uniapp vue3 版本的H5 url如果是数字=数字的参数会报错 阻塞页面 #5773

@tonnypotato

Description

@tonnypotato

发行方式

H5

具体平台

H5 hbilderX创建的v3项目

开发环境

Windows

项目创建方式

HBuilderX

依赖版本

HbilderX 4.76

问题描述

InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '1' is not a valid attribute name

链接列如 http://xxxxxx?1=1 http://xxxxxx/#/?1=1 http://xxxxxx/#/?a=1&1=1必现

重现步骤

InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '1' is not a valid attribute name

链接列如 http://xxxxxx?1=1 http://xxxxxx/#/?1=1 http://xxxxxx/#/?a=1&1=1必现

期望行为

这是不应该的 这样的参数不应该直接阻塞页面 页面直接不显示了

实际行为

No response

截图或录屏

Image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions