瀏覽代碼

解决request冲突

master
bjfight 4 週之前
父節點
當前提交
31fbca61c5
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. 5
    5
      utils/network/request.js

+ 5
- 5
utils/network/request.js 查看文件

@@ -332,13 +332,13 @@ export function requestNew(code, options = {}, start = false, clie = () => {}) {
//公参
const Common = {
loginSource: getItem("loginSource"),
<<<<<<< HEAD
customerId: getItem("customerObj").customerId,
accessToken: getItem(StorageKeys.Token)
=======
// <<<<<<< HEAD
// customerId: getItem("customerObj").customerId,
// accessToken: getItem(StorageKeys.Token)
// =======
accessToken: getItem(StorageKeys.Token),
customerId: getItem("customerObj").customerId,
>>>>>>> 2bd4fd2288160c9b41c882d376c6debd9051e296
// >>>>>>> 2bd4fd2288160c9b41c882d376c6debd9051e296
}
console.log('Common',Common, getItem("customerObj"))
// options.url = envs[process.env.NODE_ENV].baseUrl+'/prod' + code

Loading…
取消
儲存