commit | author | age
|
105729
|
1 |
//常量 |
I |
2 |
const myConstant = { |
af029b
|
3 |
uploadFileSizeLimit: 2 * 1024 * 1024, |
I |
4 |
visitorDataKey: "visitorData.inleft.com", |
80476f
|
5 |
userName: "inleft", |
I |
6 |
img404: "this.onerror='';this.src=\"http://t.inleft.com/share/media_photo/idea_beijing.jpg\"", |
|
7 |
fileType: { |
|
8 |
fileTypeMarkDown_1: 1, |
|
9 |
fileTypeHtml_2: 2, |
|
10 |
fileTypeVideo_3: 3, |
|
11 |
fileTypeMp3_4: 4, |
|
12 |
fileTypePictures_5: 5, |
|
13 |
fileTypeTalking_9: 9, |
|
14 |
}, |
|
15 |
activeKeyType: { |
|
16 |
type_1: "moment", |
|
17 |
type_2: "flash", |
|
18 |
type_3: "store", |
|
19 |
}, |
|
20 |
bucketName: { |
|
21 |
bucket_article: "article", |
|
22 |
bucket_video: "mp4", |
|
23 |
bucket_mp3: "mp3", |
|
24 |
bucket_cover: "cover", |
|
25 |
bucket_picture: "picture", |
|
26 |
} |
|
27 |
|
105729
|
28 |
} |
af029b
|
29 |
|
I |
30 |
|
105729
|
31 |
export default myConstant; |