yyccQQu
yyccQQu
> With one source code, build for linux is OK, but build for Windows is bad. There is blank screen > > You can see code [there](https://github.com/milanP96/desktop_app) your project .electron-vue...
> @major697 I set a param to flag the click. the above image is my code compromise(折中方案) ```js const nn = require('node-notifier'); ipcMain.on("notify", (evt, data,msgType) => { const { senderName,...
In Mac, I also encountered the same problem,and If the click prompt is too fast, or it is not the current app, an error will be prompted.
```js const isDev = require("electron-is-dev"); const fixPath = () => { var icon var contentImage var open if(isDev){ icon = path.join(__dirname, 'a.png') contentImage = path.join(__dirname, 'a.png') open = path.join(__dirname, 'a.png')...
> 刷新一下浏览器试试,能贴一下报错信息吗 真机上测试的。貌似通过浏览器不得行。
> 我也碰到了这个问题 >  目前方法可以这样搞 ``` 时间: openDate(dom, format, status) { var self = this; //获取当前时间戳 var minDates = moment((moment().unix() - 3 * 30 * 24 * 60 * 60)...
> 这个地方格式就是YYYY-MM-DD 00:00:00啊 > 怎么把 00:00:00 变成 23:59:59 > >  你可以用moment方法直接强制转换 搜moment ``` moment('当前时间毫秒时间戳').format("YYYY-MM-DD 23:59:59") ```
> _No description provided._ 你把index里面的css样式搞进去,然后用自己的vue文件开发是一样的