通用评论

constant.js 413B

12345678910111213141516
  1. export const ERROR_DEFAULT = "出错了!";
  2. export const LIMIT = 10; // 默认 limit
  3. export const OSS_ENDPOINT = "oss-cn-beijing.aliyuncs.com";
  4. export const OSS_BUCKET = "links-comment";
  5. export const DRIVER_LICENSE_PATH = "/comment";
  6. export const OSS_LINK = "http://links-comment.oss-cn-beijing.aliyuncs.com";
  7. export const MAX_UPLOAD_NUMBER = 4;
  8. export const REGEXP = /\[.+?\]/g;
  9. export const AVATAR = "";