|
@@ -76,10 +76,6 @@ const PageDuplicateModal = (props) => {
|
|
|
const res = await appContainer.apiv3Get('/pages/subordinated-list', { path, limit: LIMIT_FOR_LIST });
|
|
const res = await appContainer.apiv3Get('/pages/subordinated-list', { path, limit: LIMIT_FOR_LIST });
|
|
|
const { subordinatedPaths } = res.data;
|
|
const { subordinatedPaths } = res.data;
|
|
|
setSubordinatedPages(subordinatedPaths);
|
|
setSubordinatedPages(subordinatedPaths);
|
|
|
- const toPaths = ['/test1223/test', '/test1223/test12', 'test/1234556', 't', '/test1223/test/test3'];
|
|
|
|
|
- const response = await appContainer.apiv3Get('/page/exist-paths', { path, toPaths });
|
|
|
|
|
- const { existPaths } = response.data;
|
|
|
|
|
- console.log(existPaths);
|
|
|
|
|
}
|
|
}
|
|
|
catch (err) {
|
|
catch (err) {
|
|
|
setErrs(err);
|
|
setErrs(err);
|