fix_操作日志_工作空间成员无法跳转--bug=1006766 --user=王孝刚 【系统设置-操作日志】添加工作空间成员标题高亮可点击,但点击后无响应 https://www.tapd.cn/55049933/s/1049005
This commit is contained in:
parent
ce19ddbbc2
commit
6b2f6bfcfc
|
@ -205,11 +205,14 @@
|
|||
return false;
|
||||
},
|
||||
clickResource(resource) {
|
||||
let uri = getUrl(resource);
|
||||
if (!resource.sourceId) {
|
||||
this.$get('/user/update/currentByResourceId/' + resourceId, () => {
|
||||
this.toPage(uri);
|
||||
});
|
||||
}
|
||||
let operModule = resource.operModule;
|
||||
if (operModule === "系统-系统参数设置" || operModule === "系统-系統參數設置" || operModule === "System parameter setting") {
|
||||
this.toPage(uri);
|
||||
} else {
|
||||
let resourceId = resource.sourceId;
|
||||
if (resourceId && resourceId.startsWith("\"" || resourceId.startsWith("["))) {
|
||||
resourceId = JSON.parse(resource.sourceId);
|
||||
|
@ -217,11 +220,6 @@
|
|||
if (resourceId instanceof Array) {
|
||||
resourceId = resourceId[0];
|
||||
}
|
||||
let uri = getUrl(resource);
|
||||
let operModule = resource.operModule;
|
||||
if (operModule === "系统-系统参数设置" || operModule === "系统-系統參數設置" || operModule === "System parameter setting") {
|
||||
this.toPage(uri);
|
||||
} else {
|
||||
this.$get('/user/update/currentByResourceId/' + resourceId, () => {
|
||||
this.toPage(uri);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue