core: homework: 自动转换pids

This commit is contained in:
undefined committed 2021-01-24 13:11:35 +08:00
1 parent f2a999aacb
commit 25e7e00518
6 files changed
+20 -17

No files matched your search

+1 -1
View File
@@ -446,7 +446,7 @@ export class Handler extends HandlerCommon {
this.getSession(),
this.getBdoc(),
]);
if (inferDomain) {
if (inferDomain && !this.request.path.startsWith('/d/')) {
this.domainId = inferDomain._id;
this.args.domainId = inferDomain._id;
this.domain = inferDomain;