diff --git a/pages/component/list-view/list-view.uvue b/pages/component/list-view/list-view.uvue index a3e040d8ca375b5744c15a1e9c55bdab8d137595..075315ed2db4bf08c33fa8dcecbea515cfe729ae 100644 --- a/pages/component/list-view/list-view.uvue +++ b/pages/component/list-view/list-view.uvue @@ -10,7 +10,7 @@ bounces_boolean: true, scroll_y_boolean: true, scroll_x_boolean: false, - scroll_direction: "y", + scroll_direction: "vertical", upper_threshold_input: 50, lower_threshold_input: 50, scroll_top_input: 0, @@ -85,19 +85,19 @@ change_bounces_boolean(checked : boolean) { this.bounces_boolean = checked }, change_scroll_y_boolean(checked : boolean) { this.scroll_y_boolean = checked - change_scroll_direction() + this.change_scroll_direction() }, change_scroll_x_boolean(checked : boolean) { this.scroll_x_boolean = checked - change_scroll_direction() + this.change_scroll_direction() }, change_scroll_direction() { if(this.scroll_y_boolean && this.scroll_x_boolean || this.scroll_y_boolean) { - this.scroll_direction = "y" + this.scroll_direction = "vertical" } else if(!this.scroll_y_boolean && !this.scroll_x_boolean) { this.scroll_direction = "none" } else if(!this.scroll_y_boolean && this.scroll_x_boolean){ - this.scroll_direction = "x" + this.scroll_direction = "horizontal" } }, confirm_upper_threshold_input(value : number) { this.upper_threshold_input = value },