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
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