diff --git a/client/src/components/Header.vue b/client/src/components/Header.vue index f705680..fec7496 100644 --- a/client/src/components/Header.vue +++ b/client/src/components/Header.vue @@ -21,6 +21,14 @@ > 思考 + + + + + +
+
+
+ 上传中... +
+
+ +
+ {{ error }} +
+ + + + + + diff --git a/client/src/components/admin/AdminLayout.vue b/client/src/components/admin/AdminLayout.vue index 62de361..d9bc18a 100644 --- a/client/src/components/admin/AdminLayout.vue +++ b/client/src/components/admin/AdminLayout.vue @@ -240,6 +240,7 @@ const menuItems = ref([ isOpen: false, children: [ { title: '全局配置', path: '/admin/settings', icon: '🛠️' }, + { title: '附件管理', path: '/admin/attachments', icon: '📎' }, { title: '操作日志', path: '/admin/logs', icon: '📋' } ] } diff --git a/client/src/components/admin/PostRelationModal.vue b/client/src/components/admin/PostRelationModal.vue new file mode 100644 index 0000000..7418774 --- /dev/null +++ b/client/src/components/admin/PostRelationModal.vue @@ -0,0 +1,347 @@ +