Skip to content

Commit

Permalink
DocSys.js
Browse files Browse the repository at this point in the history
1.buildRequestParamStrForDoc不能人为添加一些参数,会导致后续的逻辑发生变化,比如editEn和downloadEn
  • Loading branch information
RainyGao-GitHub committed Oct 23, 2024
1 parent 3db7831 commit a9fefea
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions WebRoot/web/js/DocSys.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,9 @@ function buildRequestParamStrForDoc(docInfo)

if(docInfo.editEn == undefined)
{
urlParamStr += andFlag + "editEn=0";
andFlag = "&";
//TODO: 如果未定义则不要传递,系统会根据用户实际权限确定
//urlParamStr += andFlag + "editEn=0";
//andFlag = "&";
}
else
{
Expand All @@ -190,8 +191,9 @@ function buildRequestParamStrForDoc(docInfo)

if(docInfo.downloadEn == undefined)
{
urlParamStr += andFlag + "downloadEn=0";
andFlag = "&";
//TODO: 如果未定义则不要传递,系统会根据用户实际权限确定
//urlParamStr += andFlag + "downloadEn=0";
//andFlag = "&";
}
else
{
Expand Down

0 comments on commit a9fefea

Please sign in to comment.