From ebc92ba61cc7fe4dcbf97db0c910e7fd673f9cc2 Mon Sep 17 00:00:00 2001 From: xiaoxian521 <1923740402@qq.com> Date: Fri, 9 Jan 2026 12:17:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=BC=94=E7=A4=BA=E6=8E=A5=E5=8F=A3=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mock.ts | 2 +- src/views/components/upload/index.vue | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/mock.ts b/src/api/mock.ts index 549e9d09b..1911dd133 100644 --- a/src/api/mock.ts +++ b/src/api/mock.ts @@ -14,7 +14,7 @@ export const mapJson = (params?: object) => { export const formUpload = data => { return http.request( "post", - "https://run.mocky.io/v3/3aa761d7-b0b3-4a03-96b3-6168d4f7467b", + "https://pureadmin.free.beeceptor.com/images", { data }, { headers: { diff --git a/src/views/components/upload/index.vue b/src/views/components/upload/index.vue index 4077da458..b3a079019 100644 --- a/src/views/components/upload/index.vue +++ b/src/views/components/upload/index.vue @@ -143,7 +143,7 @@ const onDownload = () => { class="pure-upload" list-type="picture-card" accept="image/jpeg,image/png,image/gif" - action="https://run.mocky.io/v3/3aa761d7-b0b3-4a03-96b3-6168d4f7467b" + action="https://pureadmin.free.beeceptor.com/images" :limit="3" :headers="{ Authorization: 'eyJhbGciOiJIUzUxMiJ9.admin' }" :on-exceed="onExceed" @@ -264,13 +264,13 @@ const onDownload = () => { 表格操作栏中的上传头像功能

- 免责声明:上传接口使用免费开源的 + 免责声明:上传接口使用 -  Mocky  +  Beeceptor  请不要上传重要信息 ,如果造成任何损失,我们概不负责