mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
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 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) {
|
if (!container.length || !selectedItem.length) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -116,7 +116,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const container = parent.find('.page-content');
|
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) {
|
if (!container.length || !selectedItem.length) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user