fix the problem that not scroll to selected item in color selection sheet or icon icon selection sheet

This commit is contained in:
MaysWind
2023-08-06 23:35:51 +08:00
parent c88f6501fa
commit 9b2fba9600
2 changed files with 2 additions and 2 deletions
@@ -96,7 +96,7 @@ export default {
}
const container = parent.find('.page-content');
const selectedItem = parent.find('.row.row-has-selected-item');
const selectedItem = parent.find('.row-has-selected-item');
if (!container.length || !selectedItem.length) {
return;
+1 -1
View File
@@ -116,7 +116,7 @@ export default {
}
const container = parent.find('.page-content');
const selectedItem = parent.find('.row.row-has-selected-item');
const selectedItem = parent.find('.row-has-selected-item');
if (!container.length || !selectedItem.length) {
return;