Skip to content

Commit 4ec91b0

Browse files
committed
fix: shared third-level directory does not display matters
1 parent be1a744 commit 4ec91b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/app/api/share.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ func (rs *ShareResource) findMatters(c *gin.Context) {
225225
return
226226
}
227227

228-
dir := fmt.Sprintf("%s/%s", mMatter.Name, p.Dir) // 设置父级目录
228+
dir := fmt.Sprintf("%s%s", mMatter.FullPath(), p.Dir) // 设置父级目录
229229
query := dao.NewQuery()
230230
query.WithEq("uid", mMatter.Uid)
231231
query.WithEq("parent", dir)

0 commit comments

Comments
 (0)