RubyLouvre/anu

View on GitHub
packages/render/miniapp/apiForH5/request.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function constructor has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor({
        url = '',
        header = '',
        formData = {},
        success = () => {},
Severity: Minor
Found in packages/render/miniapp/apiForH5/request.js - About 1 hr to fix

    Function constructor has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        constructor({
            url = '',
            method = 'get',
            data = {},
            header = {},
    Severity: Minor
    Found in packages/render/miniapp/apiForH5/request.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status