From d79011e39abe8dc8b6bc73d601bcdfd8cfcb68b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Thu, 24 Nov 2022 01:17:54 +0800 Subject: [PATCH] feat: support attachment uploading --- components/common/CommonNotFound.vue | 2 +- components/publish/PublishAttachment.vue | 24 +++++++ components/publish/PublishWidget.vue | 90 +++++++++++++++++++++--- package.json | 1 + pnpm-lock.yaml | 6 ++ shims.d.ts | 1 + 6 files changed, 115 insertions(+), 9 deletions(-) create mode 100644 components/publish/PublishAttachment.vue create mode 100644 shims.d.ts diff --git a/components/common/CommonNotFound.vue b/components/common/CommonNotFound.vue index d0f0b696..1cf80863 100644 --- a/components/common/CommonNotFound.vue +++ b/components/common/CommonNotFound.vue @@ -2,7 +2,7 @@
- Not found + 404 Not Found
diff --git a/components/publish/PublishAttachment.vue b/components/publish/PublishAttachment.vue new file mode 100644 index 00000000..1e82c07a --- /dev/null +++ b/components/publish/PublishAttachment.vue @@ -0,0 +1,24 @@ + + + diff --git a/components/publish/PublishWidget.vue b/components/publish/PublishWidget.vue index 0cded01c..b6e4bdf7 100644 --- a/components/publish/PublishWidget.vue +++ b/components/publish/PublishWidget.vue @@ -1,5 +1,5 @@