{"size": 354, "ext": "js", "max_stars_repo_path": "src/utils/common.js", "max_stars_repo_name": "LengGao/work-ms-customer-resource-admin", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/utils/common.js", "max_issues_repo_name": "LengGao/work-ms-customer-resource-admin", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/common.js", "max_forks_repo_name": "LengGao/work-ms-customer-resource-admin", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 14.75, "max_line_length": 36, "alphanum_fraction": 0.5960451977}
import { Message } from 'element-ui'

/**
 * 成功弹框
 * @param {String} message
 */
export const msgSuccess = message =>
  Message({
    message,
    type: 'success'
  })
// 警告弹框
export const msgWarning = message =>
  Message({
    message,
    type: 'warning'
  })
// 错误弹框
export const msgError = message =>
  Message({
    message,
    type: 'error'
  })
