|
|
@@ -113,7 +113,7 @@ const sortOptions = [
|
|
|
const tagId = useStorage('tagId', '')
|
|
|
|
|
|
const tags = ref(null)
|
|
|
-http.post('/tag/all', { size: 10000 }, { body: 'json' }).then(res => {
|
|
|
+http.post('/tag/all', { size: 200 }, { body: 'json' }).then(res => {
|
|
|
tags.value = res.content
|
|
|
})
|
|
|
|
|
|
@@ -123,7 +123,7 @@ const listLoading = ref(false)
|
|
|
const getList = () => {
|
|
|
if (listLoading.value) return
|
|
|
listLoading.value = true
|
|
|
- http.get('/collection/byTag', { size: 10000, sort: listSort.value, tagId: tagId.value }).then(res => {
|
|
|
+ http.get('/collection/byTag', { size: 200, sort: listSort.value, tagId: tagId.value }).then(res => {
|
|
|
listLoading.value = false
|
|
|
res.content.forEach(i => {
|
|
|
const m = /^(.*?)\s*(#\d+)$/.exec(i.name)
|
|
|
@@ -145,7 +145,7 @@ const orderLoading = ref(false)
|
|
|
const getOrder = () => {
|
|
|
if (orderLoading.value) return
|
|
|
orderLoading.value = true
|
|
|
- http.get('/order/byTag', { size: 10000, sort: orderSort.value, tagId: tagId.value }).then(res => {
|
|
|
+ http.get('/order/byTag', { size: 200, sort: orderSort.value, tagId: tagId.value }).then(res => {
|
|
|
orderLoading.value = false
|
|
|
res.content.forEach(i => {
|
|
|
const m = /^(.*?)\s*(#\d+)$/.exec(i.name)
|
|
|
@@ -164,7 +164,7 @@ const getOrder = () => {
|
|
|
const assets = ref([])
|
|
|
const assetsLoading = ref(false)
|
|
|
const getAssets = () => {
|
|
|
- http.get('/asset/byTag', { size: 10000, sort: 'id,desc', tagId: tagId.value }, { body: 'json' }).then(res => {
|
|
|
+ http.get('/asset/byTag', { size: 200, sort: 'id,desc', tagId: tagId.value }, { body: 'json' }).then(res => {
|
|
|
if (res.first) {
|
|
|
assets.value = []
|
|
|
}
|