From c041ef967140a2f1ede59c6b553f2d90f28fdd26 Mon Sep 17 00:00:00 2001 From: wzclm <2855471171@qq.com> Date: Sun, 23 Feb 2025 16:54:34 +0800 Subject: [PATCH] Enhance project introduction module with advanced image upload and input features - Add support for image upload and URL input with flexible selection - Implement robust image upload validation and error handling - Update form submission logic to handle different image input types - Add computed properties for image URL processing and upload headers - Improve user experience with better image upload feedback and validation --- src/api/{projects.js => projects/index.js} | 0 src/views/projects/index.vue | 230 +++++++++++++++++---- 2 files changed, 185 insertions(+), 45 deletions(-) rename src/api/{projects.js => projects/index.js} (100%) diff --git a/src/api/projects.js b/src/api/projects/index.js similarity index 100% rename from src/api/projects.js rename to src/api/projects/index.js diff --git a/src/views/projects/index.vue b/src/views/projects/index.vue index 89088b5..f3e746b 100644 --- a/src/views/projects/index.vue +++ b/src/views/projects/index.vue @@ -1,10 +1,11 @@