mirror of
https://github.com/Av0idD4rk/packmate.git
synced 2026-10-25 12:29:24 +00:00
Изменил размер страницы
This commit is contained in:
parent
2b6c1c45c2
commit
156a1ef5d4
@ -141,7 +141,7 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
onGotNewStream(stream) {
|
onGotNewStream(stream) {
|
||||||
if (this.streams.length > 50) {
|
if (this.streams.length > this.$store.state.pageSize * 2) {
|
||||||
this.streams.pop();
|
this.streams.pop();
|
||||||
}
|
}
|
||||||
this.streams.unshift(stream);
|
this.streams.unshift(stream);
|
||||||
|
|||||||
@ -11,7 +11,7 @@ export default new Vuex.Store({
|
|||||||
apiPassword: '123456',
|
apiPassword: '123456',
|
||||||
hexdumpBlockSize: 16,
|
hexdumpBlockSize: 16,
|
||||||
hexdumpLineNumberBase: 10,
|
hexdumpLineNumberBase: 10,
|
||||||
pageSize: 50,
|
pageSize: 25,
|
||||||
displayFavOnly: false,
|
displayFavOnly: false,
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user