Edited as per @jamesgeorge007 's said ✨
This commit is contained in:
@@ -93,7 +93,7 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
"requestUpdateData.collectionIndex": ()=> { //resetFolderIndex Function
|
||||
"requestUpdateData.collectionIndex":function resetFolderIndex() { //resetFolderIndex Function
|
||||
// if user choosen some folder, than selected other collection, which doesn't have any folders
|
||||
// than `requestUpdateData.folderIndex` won't be reseted
|
||||
this.$data.requestUpdateData.folderIndex = undefined;
|
||||
|
||||
@@ -119,7 +119,7 @@ export default {
|
||||
this.$data.requestData.folderIndex = undefined;
|
||||
this.$data.requestData.requestIndex = undefined;
|
||||
},
|
||||
"requestData.folderIndex": ()=> {
|
||||
"requestData.folderIndex": function resetRequestIndex() {
|
||||
this.$data.requestData.requestIndex = undefined;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -432,7 +432,7 @@ export default {
|
||||
this.sse.close();
|
||||
}
|
||||
},
|
||||
updated: ()=> {
|
||||
updated: function() {
|
||||
this.$nextTick(()=> {
|
||||
const divLog = document.getElementById("log");
|
||||
divLog.scrollBy(0, divLog.scrollHeight + 100);
|
||||
|
||||
Reference in New Issue
Block a user