Commit be25158c authored by 骆瑛's avatar 骆瑛

修改bug

parent 3760a310
......@@ -132,6 +132,7 @@ export default {
width: 140,
hide: true
},
{
key: "plan_finish",
title: this.l("plan_finish"),
......@@ -147,6 +148,14 @@ export default {
easy: true,
high: true
},
{
key: "aaa",
title: '设备类型信息',
align: "left",
easy: true,
high: true,
// hide: true
},
{
key: "setup_time",
title: this.l("setup_time"),
......
......@@ -427,7 +427,6 @@ export default {
}
});
},
addOk() {
this.list = [];
this.loadList();
......
......@@ -74,7 +74,7 @@ const service = axios.create({
return fmt;
}
Date.prototype.toJSON = function () {
Date.prototype.toJSON = function() {
return dateFormat(this, 'yyyy-MM-ddThh:mm:ss.SSSZ')
}
return JSON.stringify(data)
......@@ -134,11 +134,10 @@ service.interceptors.response.use(
},
error => {
const token = sessionStorage.getItem('token');
if (!token&&!error.response) {
if (!token && !error.response) {
window.location.href = '/account/login';
return;
}
if (error && error.response) {
// return;
if (error.response.status == "401") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment