修改报错
This commit is contained in:
parent
6bba90a1c2
commit
cde38e8eb7
|
|
@ -2,8 +2,8 @@ import axios from 'axios'
|
||||||
// import {getHeaders} from '../utils/token'
|
// import {getHeaders} from '../utils/token'
|
||||||
|
|
||||||
// const baseUrl = 'http://localhost:8083/api/'
|
// const baseUrl = 'http://localhost:8083/api/'
|
||||||
// const baseUrl = 'https://api.tomey.live/api/'
|
const baseUrl = 'https://api.tomey.live/api/'
|
||||||
const baseUrl = 'http://mytwins.top/api/'
|
// const baseUrl = 'http://mytwins.top/api/'
|
||||||
class HttpRequest {
|
class HttpRequest {
|
||||||
constructor (baseUrl) {
|
constructor (baseUrl) {
|
||||||
this.baseUrl = baseUrl
|
this.baseUrl = baseUrl
|
||||||
|
|
@ -13,7 +13,6 @@ class HttpRequest {
|
||||||
let expiration = sessionStorage.getItem('expiration')
|
let expiration = sessionStorage.getItem('expiration')
|
||||||
let nowDate = new Date().getTime()
|
let nowDate = new Date().getTime()
|
||||||
if (nowDate - expiration > 7000000) {
|
if (nowDate - expiration > 7000000) {
|
||||||
// getHeaders()
|
|
||||||
}
|
}
|
||||||
const instance = axios.create()
|
const instance = axios.create()
|
||||||
options = Object.assign({
|
options = Object.assign({
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<template v-if="props.row.status!=2">
|
<template v-if="props.row.status!=1">
|
||||||
<el-form-item label="接单人员 :">
|
<el-form-item label="接单人员 :">
|
||||||
<span>{{ props.row.courier.username }}</span>
|
<span>{{ props.row.courier.username }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue