diff --git a/src/api/theme.js b/src/api/theme.js index 43dd2e853..fb3f99d1b 100644 --- a/src/api/theme.js +++ b/src/api/theme.js @@ -117,4 +117,11 @@ themeApi.saveContent = (path, content) => { }) } +themeApi.reload = () => { + return service({ + url: `${baseUrl}/reload`, + method: 'post' + }) +} + export default themeApi diff --git a/src/core/const.js b/src/core/const.js index 2316788f8..c6e3e42db 100644 --- a/src/core/const.js +++ b/src/core/const.js @@ -8,7 +8,6 @@ const toolbars = { ol: true, // 有序列表 ul: true, // 无序列表 link: true, // 链接 - imagelink: true, // 图片链接 code: true, // code table: true, // 表格 fullscreen: true, // 全屏编辑 diff --git a/src/views/interface/MenuList.vue b/src/views/interface/MenuList.vue index 53eeeff73..dbe31d3be 100644 --- a/src/views/interface/MenuList.vue +++ b/src/views/interface/MenuList.vue @@ -145,10 +145,6 @@ const columns = [ title: '排序', dataIndex: 'priority' }, - { - title: '图标', - dataIndex: 'icon' - }, { title: '操作', key: 'action', diff --git a/src/views/interface/ThemeList.vue b/src/views/interface/ThemeList.vue index 7a6d10a5d..54353546a 100644 --- a/src/views/interface/ThemeList.vue +++ b/src/views/interface/ThemeList.vue @@ -215,13 +215,22 @@
- + + + + + 安装主题 + + + 刷新列表 + + +
{ + this.$message.success('刷新成功!') + }) } } } diff --git a/src/views/sheet/internal/JournalList.vue b/src/views/sheet/internal/JournalList.vue index 45a869833..aaf26e4f8 100644 --- a/src/views/sheet/internal/JournalList.vue +++ b/src/views/sheet/internal/JournalList.vue @@ -1,9 +1,7 @@