修改报错

This commit is contained in:
clay 2021-06-29 14:08:13 +08:00
parent 6bba90a1c2
commit cde38e8eb7
2 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,8 @@ import axios from 'axios'
// import {getHeaders} from '../utils/token'
// const baseUrl = 'http://localhost:8083/api/'
// const baseUrl = 'https://api.tomey.live/api/'
const baseUrl = 'http://mytwins.top/api/'
const baseUrl = 'https://api.tomey.live/api/'
// const baseUrl = 'http://mytwins.top/api/'
class HttpRequest {
constructor (baseUrl) {
this.baseUrl = baseUrl
@ -13,7 +13,6 @@ class HttpRequest {
let expiration = sessionStorage.getItem('expiration')
let nowDate = new Date().getTime()
if (nowDate - expiration > 7000000) {
// getHeaders()
}
const instance = axios.create()
options = Object.assign({

View File

@ -69,7 +69,7 @@
</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="接单人员 :">
<span>{{ props.row.courier.username }}</span>
</el-form-item>