From 143b3340bcd2cbd5f81035fba65e565f9c2bcc79 Mon Sep 17 00:00:00 2001 From: tamguo Date: Thu, 15 Nov 2018 13:39:08 +0800 Subject: [PATCH] fix bug --- tamguo-bms/src/main/resources/static/js/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tamguo-bms/src/main/resources/static/js/markdown.js b/tamguo-bms/src/main/resources/static/js/markdown.js index ba62378..ad197f2 100644 --- a/tamguo-bms/src/main/resources/static/js/markdown.js +++ b/tamguo-bms/src/main/resources/static/js/markdown.js @@ -274,7 +274,7 @@ $(function () { if (res.code === 0) { var data = { "id": res.result.id, - 'parent': res.result.parentId, + 'parent': res.result.parentId === "0" ? "#" : res.result.parentId, "text": res.result.name, "identify": res.result.id, "version": res.result.createDate ,