Skip to content

使用config+util方式生成的API中withcredentials不生效 #19

Description

@whq731

以下部分在模板生成时无法判断,需要在生成后的util中判断config.withCredentials

/*
 * 发送请求
 * */
Utils.sendReq = function (resolve, reject, options, success, error) {
    {@if config.withCredentials}options.withCredentials = true;{@/if}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions