Browse Source

添加担心组件

aaa 3 years ago
parent
commit
b8cd3890a3
2 changed files with 3 additions and 1 deletions
  1. 1 1
      src/api/modules/article.js
  2. 2 0
      src/styles/index.js

+ 1 - 1
src/api/modules/article.js

@@ -6,7 +6,7 @@ export default {
     // 删除文章
     INTERFACE_POST_ARTICLE_DELETE: 'admin/materials/{materialId}',
     // 文章分类父级
-    INTERFACE_GET_CATEGORIES: "categories",
+    INTERFACE_GET_CATEGORIES: "admin/categories",
     // 文章分类子集
     INTERFACE_GET_CATEGORIES_CATEGROYID: "categories/{categoryId}",
     // 新建文章

+ 2 - 0
src/styles/index.js

@@ -25,6 +25,7 @@ import {
   Drawer,
   Divider,
   DatePicker,
+  Radio
 } from 'ant-design-vue';
 import 'ant-design-vue/dist/antd.css';
 
@@ -54,4 +55,5 @@ Vue.use(Pagination);
 Vue.use(Drawer);
 Vue.use(Divider);
 Vue.use(DatePicker);
+Vue.use(Radio);
 Vue.component('icon-font', IconFont);