Skip to content

[Bug]: 2.6.1版本导入DCIM和IPAM模型出现问题 #779

@wjh-1024

Description

@wjh-1024

Contact Details

No response

This bug is related to UI or API?

UI

What happened?

最新版本导入DCIM和IPAM模型出现问题,报401权限故障
需要修改cmdb-ui/src/modules/cmdb/views/ci_types/index.vue文件,在60行后面插入
:with-credentials="true"

原因可能是 组件没有设置 withCredentials=true ,导致上传文件时浏览器 没有携带登录 Cookie ,后端认为未认证报401。

Version

newest

What browsers are you seeing the problem on?

No response

Relevant log output

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions