🎭 修复窗口尺寸 🦺

This commit is contained in:
hunlongyu
2020-07-11 00:14:51 +08:00
parent 8902282fe2
commit c1043d9197
4 changed files with 29 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ protocol.registerSchemesAsPrivileged([{ scheme: 'app', privileges: { secure: tru
function createWindow () {
win = new BrowserWindow({
width: 1680,
width: 1080,
height: 720,
frame: false,
resizable: true,
@@ -38,7 +38,7 @@ function createWindow () {
function createMini () {
mini = new BrowserWindow({
width: 1150,
width: 550,
miniWidth: 860,
height: 340,
miniHeight: 180,

View File

@@ -295,6 +295,7 @@ export default {
},
changeView () {
if (this.refresh >= 1) {
this.$refs.waterfall.refresh()
this.getPage().then(() => {
this.infiniteId += 1
this.refresh = 0