|
@@ -61,7 +61,7 @@ export default {
|
|
|
console.log('getItemIndex nid', nid)
|
|
|
return state.items.findIndex((e) => {
|
|
|
// console.log('findIndex', e.nid, nid)
|
|
|
- return e.nid === nid
|
|
|
+ return parseInt(e.nid) === nid
|
|
|
})
|
|
|
},
|
|
|
getPrevNextItems ({ dispatch, commit, state }, index) {
|