mirror of
https://github.com/dataease/dataease.git
synced 2026-05-19 02:08:10 +08:00
refactor: 移动端布局适配
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function saveEnshrine(panelGroupId) {
|
||||
export function saveEnshrine(panelGroupId, loading = true) {
|
||||
return request({
|
||||
url: '/api/store/' + panelGroupId,
|
||||
method: 'post',
|
||||
loading: true
|
||||
loading: loading
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteEnshrine(id) {
|
||||
export function deleteEnshrine(id, loading = true) {
|
||||
return request({
|
||||
url: '/api/store/remove/' + id,
|
||||
method: 'post',
|
||||
loading: true
|
||||
loading: loading
|
||||
})
|
||||
}
|
||||
|
||||
export function enshrineList(data) {
|
||||
export function enshrineList(data, loading = true) {
|
||||
return request({
|
||||
url: '/api/store/list',
|
||||
method: 'post',
|
||||
loading: true,
|
||||
loading: loading,
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user