fix the problem that not scroll to selected item in color selection sheet or icon icon selection sheet
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user