SimulatedGREG / electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.46k stars 1.54k forks source link

moveTop有时候不起作用 #1037

Open zoujianliang1994 opened 4 years ago

zoujianliang1994 commented 4 years ago

message() { const window = BrowserWindow.fromId(this.windowId); // 无论焦点如何, 将窗口移至顶端 window.moveTop() window.setAlwaysOnTop(true); window.show(); }, 点击的时候调用这个函数将窗口移到顶端,有时候成功了,有时候失败了

DevenirPlusFort commented 4 years ago

Hi guy,You should write English better.So they can understand your problem. And you should give our some problem reproduction and test cases, Beacuse They can help us to find problem place and solve problem.