mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 11:19:56 +00:00
fix: 修复客户端无法打开工作报告
This commit is contained in:
parent
ac1644e32d
commit
802afd592c
2
resources/assets/js/store/actions.js
vendored
2
resources/assets/js/store/actions.js
vendored
@ -1246,7 +1246,7 @@ export default {
|
|||||||
userid: state.userId,
|
userid: state.userId,
|
||||||
}
|
}
|
||||||
// 如果是访问:服务器域名 或 本地文件,则添加 token 参数
|
// 如果是访问:服务器域名 或 本地文件,则添加 token 参数
|
||||||
if ($A.getDomain(url) == $A.getDomain($A.mainUrl()) || isLocalHost(window.location)) {
|
if ($A.getDomain(url) == $A.getDomain($A.mainUrl()) || isLocalHost(url)) {
|
||||||
params.token = state.userToken
|
params.token = state.userToken
|
||||||
}
|
}
|
||||||
resolve($A.urlAddParams(url, params))
|
resolve($A.urlAddParams(url, params))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user