使用config+util方式生成的API中withcredentials不生效
Opened this issue · 0 comments
whq731 commented
以下部分在模板生成时无法判断,需要在生成后的util中判断config.withCredentials
/*
* 发送请求
* */
Utils.sendReq = function (resolve, reject, options, success, error) {
{@if config.withCredentials}options.withCredentials = true;{@/if}