mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 02:58:10 +08:00
refactor: 前端增加菜单缓存,加快相应速度
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function queryAuthModel(data) {
|
||||
export function queryAuthModel(data, loading = true, timeout = 30000) {
|
||||
return request({
|
||||
url: 'authModel/queryAuthModel',
|
||||
method: 'post',
|
||||
loading: true,
|
||||
timeout: 30000,
|
||||
loading: loading,
|
||||
timeout: timeout,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user