mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-03 09:06:36 +08:00
优化ui
This commit is contained in:
@@ -24,7 +24,7 @@ export default {
|
||||
return new Promise(function(resolve, reject) {
|
||||
axios.get(path, {
|
||||
params: data,
|
||||
timeout: 12000,
|
||||
timeout: 30000,
|
||||
headers: {
|
||||
"Authorization": window.localStorage.getItem('token')
|
||||
}
|
||||
@@ -53,7 +53,7 @@ export default {
|
||||
post: function(path = '', data = {}) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
axios.post(path, data, {
|
||||
timeout: 12000,
|
||||
timeout: 30000,
|
||||
headers:{
|
||||
"Authorization": window.localStorage.getItem('token'),
|
||||
"Content-Type": "application/json"
|
||||
|
||||
Reference in New Issue
Block a user