diff --git a/src/api/roll-tools-api.js b/src/api/roll-tools-api.js index 5327ca0..103ca56 100644 --- a/src/api/roll-tools-api.js +++ b/src/api/roll-tools-api.js @@ -38,7 +38,9 @@ export const client = () => { const apis = { image: { - girl: (page = 1) => instance.get('/image/girl/list', { params: { page } }) + girl: (page = 1) => + instance.get('/image/girl/list', { params: { page } }), + girl_random: () => instance.get('/image/girl/list/random') }, ip: { self: () => instance.get('/ip/self'), diff --git a/src/views/admin/roll-tools-api/fuli-images/index.vue b/src/views/admin/roll-tools-api/fuli-images/index.vue index b63efc7..bb42195 100644 --- a/src/views/admin/roll-tools-api/fuli-images/index.vue +++ b/src/views/admin/roll-tools-api/fuli-images/index.vue @@ -16,15 +16,14 @@ class="infinite-list" v-infinite-scroll="loadNext" infinite-scroll-distance="100" - :infinite-scroll-disabled="lock" + :infinite-scroll-disabled="!!lock" >