diff --git a/src/service/knowledge.js b/src/service/knowledge.js index 0e2fd49e..2fb50a48 100644 --- a/src/service/knowledge.js +++ b/src/service/knowledge.js @@ -14,11 +14,6 @@ function getMenuGroups(params) { }); } -// 删除词条 -function removeKnowledge(id) { - return $cms().delete(`/api/cms/helper/knowledge/${id}`) -} - // 获取通识子类 function getKnowledgeMenus() { return $cms().get(`/api/cms/helper/knowledge/types`); @@ -29,4 +24,4 @@ function getKnowledgeCount(params) { return $cms().get(`/api/cms/helper/knowledge/count`, { params }); } -export { getKnowledgeList, getMenuGroups, removeKnowledge, getKnowledgeMenus, getKnowledgeCount }; +export { getKnowledgeList, getMenuGroups, getKnowledgeMenus, getKnowledgeCount }; diff --git a/src/views/knowledge/knowledge-single.vue b/src/views/knowledge/knowledge-single.vue index eed8f375..2d674c4e 100644 --- a/src/views/knowledge/knowledge-single.vue +++ b/src/views/knowledge/knowledge-single.vue @@ -64,7 +64,6 @@