Merge pull request #4658 from dataease/pr@dev@fix_custom_sort

fix(视图): 修复自定义排序第二次进入直接确认无效的问题
This commit is contained in:
Junjun 2023-02-28 15:09:41 +08:00 committed by GitHub
commit 3093e9200b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ export default {
init() { init() {
post('/chart/view/getFieldData/' + this.chart.id + '/' + this.panelInfo.id + '/' + this.field.id + '/' + this.fieldType, {}).then(response => { post('/chart/view/getFieldData/' + this.chart.id + '/' + this.panelInfo.id + '/' + this.field.id + '/' + this.fieldType, {}).then(response => {
this.sortList = response.data this.sortList = response.data
this.onUpdate()
}) })
}, },
onMove() { onMove() {