You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ch...@apache.org on 2020/05/08 05:42:24 UTC
[incubator-dolphinscheduler] branch dev updated: Fix data loading
on file management detail page
This is an automated email from the ASF dual-hosted git repository.
chenxingchun pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new f75874b Fix data loading on file management detail page
new 8e080ef Merge pull request #2633 from break60/dev
f75874b is described below
commit f75874bc17c7eb1f53bd012330e190b38669b454
Author: break60 <79...@qq.com>
AuthorDate: Fri May 8 13:27:36 2020 +0800
Fix data loading on file management detail page
---
.../home/pages/resource/pages/file/pages/details/index.vue | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
index 6875cd4..b4ee720 100644
--- a/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
+++ b/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/details/index.vue
@@ -118,7 +118,7 @@
* up
*/
_onUp: _.debounce(function () {
- this.loadingIndex = this.loadingIndex - 2
+ this.loadingIndex = this.loadingIndex - 3
console.log('_onUp')
this._editorOff()
@@ -131,7 +131,7 @@
* down
*/
_onDown: _.debounce(function () {
- this.loadingIndex = this.loadingIndex + 2
+ this.loadingIndex = this.loadingIndex + 3
console.log('_onDown')
this._editorOff()
@@ -166,11 +166,11 @@
// down
if ((scrollTop + h) > totalHeight) {
if (this.isData) {
- this._onDown()
+ // this._onDown()
}
}
// up
- if (scrollTop < 2) {
+ if (scrollTop < 3) {
if (this.loadingIndex > 0) {
this._onUp()
}
@@ -210,7 +210,7 @@
return {
id: this.$route.params.id,
skipLineNum: parseInt(`${this.loadingIndex ? this.loadingIndex + '000' : 0}`),
- limit: parseInt(`${this.loadingIndex ? this.loadingIndex + 2 : 2}000`)
+ limit: parseInt(`${this.loadingIndex ? this.loadingIndex + 3 : 3}000`)
}
}
},