diff --git a/frontend/src/api/chart/chart.js b/frontend/src/api/chart/chart.js
index a10bb2534a..c58409d9cc 100644
--- a/frontend/src/api/chart/chart.js
+++ b/frontend/src/api/chart/chart.js
@@ -8,11 +8,12 @@ export function post(url, data, loading = false) {
data
})
}
+
export function tableField(id) {
return request({
url: '/dataset/table/getWithPermission/' + id,
method: 'post',
- loading: true,
+ loading: false,
hideMsg: true,
timeout: 60000
})
@@ -34,6 +35,7 @@ export function chartCopy(id, panelId) {
loading: false
})
}
+
export function chartBatchCopy(params, panelId) {
return request({
url: '/chart/view/chartBatchCopy/' + panelId,
@@ -42,6 +44,7 @@ export function chartBatchCopy(params, panelId) {
loading: false
})
}
+
export function chartGroupTree(data) {
return request({
url: '/chart/group/tree',
@@ -116,6 +119,7 @@ export function resetViewCacheCallBack(viewId, panelId, callback) {
callback(rep)
})
}
+
export function resetViewCache(viewId, panelId) {
return request({
url: '/chart/view/resetViewCache/' + viewId + '/' + panelId,
diff --git a/frontend/src/components/deDrag/index.vue b/frontend/src/components/deDrag/index.vue
index 3ec4ea4362..44cd7a11b2 100644
--- a/frontend/src/components/deDrag/index.vue
+++ b/frontend/src/components/deDrag/index.vue
@@ -17,8 +17,8 @@
},
className
]"
- @mousedown="elementMouseDown"
@touchstart="elementTouchDown"
+ @mousedown="outerElementMouseDown"
@mouseenter="enter"
@mouseleave="leave"
>
@@ -66,20 +66,24 @@
@mousedown.stop.prevent="handleDown(handlei, $event)"
@touchstart.stop.prevent="handleTouchDown(handlei, $event)"
>
-