diff --git a/front/src/pages/manage/OverView/function.js b/front/src/pages/manage/OverView/function.js index 4c6773a..0f1618c 100644 --- a/front/src/pages/manage/OverView/function.js +++ b/front/src/pages/manage/OverView/function.js @@ -64,8 +64,15 @@ export function showAddModel() { this.setState({ isShowModal: true }); } +/** + * 新增书签 + */ export function addOne() { console.log(1); + if (this.state.addType === 2) { + addHtmlFile(); + return; + } let body = { type: this.state.addType, path: parentNode == null ? "" : parentNode.path + "." + parentNode.bookmarkId, @@ -88,6 +95,10 @@ export function addOne() { }); } +export function addHtmlFile() { + +} + /** * 批量删除 */