Commit dc445885 by zhaochengxiang

全文检索找不到数据

parent da4d7eed
...@@ -111,6 +111,7 @@ const AssetTable = (props) => { ...@@ -111,6 +111,7 @@ const AssetTable = (props) => {
}, },
error: () => { error: () => {
setLoading(false); setLoading(false);
setPagination({ ...pagination, pageNum: 1 });
} }
}); });
} }
......
...@@ -61,6 +61,7 @@ const AssetTree = (props) => { ...@@ -61,6 +61,7 @@ const AssetTree = (props) => {
}, },
error: () => { error: () => {
setLoading(false); setLoading(false);
getAllDirectoryAsTree(true);
} }
}); });
} }
...@@ -342,6 +343,7 @@ const AssetTree = (props) => { ...@@ -342,6 +343,7 @@ const AssetTree = (props) => {
} }
const onTreeCheck = (values, e) => { const onTreeCheck = (values, e) => {
//同一主题下只能挂载一个目录
const _checkedKeysValue = [...(values.checked||[])]; const _checkedKeysValue = [...(values.checked||[])];
if (e.checked) { if (e.checked) {
......
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