fixed overlapped content issue when display search results

This commit is contained in:
huangjx
2021-10-23 18:51:25 +08:00
parent e421fced4f
commit 3a8cf3a71f
4 changed files with 2 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
<summary>Aria2 and youtube-dl web gui for nextcloud</summary> <summary>Aria2 and youtube-dl web gui for nextcloud</summary>
<description>built-in torrent search;Start and stop Aria2 process, manage Aria2 from the web; <description>built-in torrent search;Start and stop Aria2 process, manage Aria2 from the web;
Download videos from youtube, twitter and other sites;</description> Download videos from youtube, twitter and other sites;</description>
<version>0.4.0</version> <version>0.4.1</version>
<licence>agpl</licence> <licence>agpl</licence>
<author mail="freefallbenson@gmail.com" homepage="https://github.com/shiningw">jiaxinhuang</author> <author mail="freefallbenson@gmail.com" homepage="https://github.com/shiningw">jiaxinhuang</author>
<namespace>NCDownloader</namespace> <namespace>NCDownloader</namespace>

View File

@@ -102,7 +102,7 @@ export default {
if (files) { if (files) {
let formWrapper = element.closest("form"); let formWrapper = element.closest("form");
let url = formWrapper.getAttribute("action"); let url = formWrapper.getAttribute("action");
Http.getInstance(url) return Http.getInstance(url)
.setHandler(function (data) { .setHandler(function (data) {
successCallback(data, element); successCallback(data, element);
}) })
@@ -121,13 +121,11 @@ export default {
<style lang="scss"> <style lang="scss">
@import "css/dl_variables.scss"; @import "css/dl_variables.scss";
$box-height: 110px;
#app-content-wrapper { #app-content-wrapper {
.ncdownloader-form-wrapper { .ncdownloader-form-wrapper {
position: relative; position: relative;
width: 100%; width: 100%;
max-height: $box-height;
top: 0; top: 0;
left: 0; left: 0;
} }

View File

@@ -23,7 +23,6 @@ export default {
}, },
methods: { methods: {
handler(event) { handler(event) {
console.log(this.enableLoading);
if (this.enableLoading) this.loading = 1; if (this.enableLoading) this.loading = 1;
this.$emit("clicked", event, this); this.$emit("clicked", event, this);
}, },

View File

@@ -86,7 +86,6 @@ export default {
}, },
}, },
mounted() { mounted() {
console.log(this.uris);
}, },
name: "mainForm", name: "mainForm",
props: { props: {