From f0dedfc82843128814f72d4c517b9217d4eb2a0e Mon Sep 17 00:00:00 2001 From: fanxb Date: Sat, 13 Jul 2019 17:59:30 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20UI:=20[=E5=89=8D=E5=8F=B0]:?= =?UTF-8?q?=E8=A1=A5=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/pages/manage/OverView/function.js | 11 +++++++++++ 1 file changed, 11 insertions(+) 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() { + +} + /** * 批量删除 */