提交 b915e964 authored 作者: 王鹏飞's avatar 王鹏飞

fix lint error

上级 33ced84d
......@@ -18,8 +18,8 @@ export default class API {
headers: {
Accept: '*/*',
'Accept-Language': '',
'Content-Type': 'application/x-www-form-urlencoded',
},
'Content-Type': 'application/x-www-form-urlencoded'
}
})
}
......@@ -37,7 +37,7 @@ export default class API {
const headers = {
tenant: 'gm',
version: window.G.VERSION,
'Content-Type': 'application/x-www-form-urlencoded',
'Content-Type': 'application/x-www-form-urlencoded'
}
_config.headers = _.assignIn(headers, _config.headers)
/* 判别 传输方式 */
......@@ -63,7 +63,7 @@ export default class API {
showClose: false,
closeOnPressEscape: false,
closeOnClickModal: false,
showCancelButton: false,
showCancelButton: false
})
}
......@@ -123,7 +123,7 @@ export default class API {
.catch(() => {
Message({
type: 'info',
message: '已取消,将不再记录任何数据操作,除非重新登录',
message: '已取消,将不再记录任何数据操作,除非重新登录'
})
})
} else if (status === 401) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论