Commit ce82cd67 by zhaochengxiang

搜索问题

parent 0ae0e60c
...@@ -457,7 +457,7 @@ const AssetTable = (props) => { ...@@ -457,7 +457,7 @@ const AssetTable = (props) => {
dirId: nodeId, dirId: nodeId,
pageNum, pageNum,
pageSize, pageSize,
keyword: keyword keyword: encodeURIComponent(keyword)
}; };
if (reference !== AssetRecycleReference) { if (reference !== AssetRecycleReference) {
......
...@@ -213,7 +213,7 @@ class Model extends React.Component { ...@@ -213,7 +213,7 @@ class Model extends React.Component {
} else { } else {
const params = { const params = {
term: keyword, term: encodeURIComponent(keyword),
namespace: `${this.props.app?.env?.domainId}`, namespace: `${this.props.app?.env?.domainId}`,
isExcludeOtherOwner: !this.props.isOnlyEnding isExcludeOtherOwner: !this.props.isOnlyEnding
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment