From 87317f44d9cc20ad70b6971168667e1c843e03d8 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 26 Aug 2022 01:16:50 +0800 Subject: [PATCH] 添加上传进度条 添加日志统计文字 --- src/config/myConstant.js | 31 ++++++++++++++++++++++++------- 1 files changed, 24 insertions(+), 7 deletions(-) diff --git a/src/config/myConstant.js b/src/config/myConstant.js index 35140f2..69a9d0e 100644 --- a/src/config/myConstant.js +++ b/src/config/myConstant.js @@ -1,14 +1,31 @@ //常量 const myConstant = { - fileTypeMarkDown: 1, - fileTypeHtml: 2, - fileTypeVideo: 3, - fileTypeMp3: 4, - fileTypeShort: 5, - fileTypeCover: 9, uploadFileSizeLimit: 2 * 1024 * 1024, visitorDataKey: "visitorData.inleft.com", - userName:"inleft" + userName: "inleft", + img404: "this.onerror='';this.src=\"http://t.inleft.com/share/media_photo/idea_beijing.jpg\"", + defaultBG:"http://t.inleft.com/share/media_photo/background.jpg", + fileType: { + fileTypeMarkDown_1: 1, + fileTypeHtml_2: 2, + fileTypeVideo_3: 3, + fileTypeMp3_4: 4, + fileTypePictures_5: 5, + fileTypeTalking_9: 9, + }, + activeKeyType: { + type_1: "moment", + type_2: "flash", + type_3: "store", + }, + bucketName: { + bucket_article: "article", + bucket_video: "mp4", + bucket_mp3: "mp3", + bucket_cover: "cover", + bucket_picture: "picture", + } + } -- Gitblit v1.9.1