Commit abf0afd7 by liimin

新增缓存keepalive开关设置

1 parent 49bb49bd
...@@ -3,4 +3,4 @@ ...@@ -3,4 +3,4 @@
# 页面 title 前缀 # 页面 title 前缀
VUE_APP_TITLE=TFims Dev VUE_APP_TITLE=TFims Dev
# 网络请求开发地址 # 网络请求开发地址
VUE_APP_API=http://192.168.3.191:8944/router
\ No newline at end of file \ No newline at end of file
VUE_APP_API=http://192.168.3.171:7300/mock/5d638b3b6fbe9a0ac59d872e/tFIMS
\ No newline at end of file \ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: limin * @Author: limin
* @Date: 2019-08-26 18:02:41 * @Date: 2019-08-26 18:02:41
* @Last Modified by: limin * @Last Modified by: limin
* @Last Modified time: 2019-09-10 17:29:30 * @Last Modified time: 2019-11-06 10:00:08
*/ */
import axios from '@/plugin/axios' import axios from '@/plugin/axios'
...@@ -14,7 +14,7 @@ const request = (params = {}, method = RequestMethods.GET, noSignAttr = []) => { ...@@ -14,7 +14,7 @@ const request = (params = {}, method = RequestMethods.GET, noSignAttr = []) => {
params.timestamp = new Date().getTime() params.timestamp = new Date().getTime()
params.v = '1.0.0' params.v = '1.0.0'
params.format = 'json' params.format = 'json'
const url = ''// params.method const url = params.method
return axios({ return axios({
url, url,
method, method,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!