05 2022 档案

摘要:webpack.config.js是webpack的配置文件,所有使用webpack作为打包工具的项目都可以使用,vue的项目可以使用,react的项目也可以使用。 vue.config.js是vue项目的配置文件,专用于vue项目。通过vue.config.js中常用功能的配置,简化了配置工作,当 阅读全文
posted @ 2022-05-23 15:29 林逸夫 阅读(358) 评论(0) 推荐(0) 编辑
摘要:npm install name -S此依赖是在package的dependencies中,不仅在开发中,也在打包上线后的生产环境中,比如vue npm install name -D此依赖是在package的devDependencies 中,只在开发中用,上线不需要 比如babel npm in 阅读全文
posted @ 2022-05-21 15:50 林逸夫 阅读(111) 评论(0) 推荐(0) 编辑
摘要:创建services文件夹 1.文件夹apis、index、request的三个文件。 2.apis文件放接口 export const apis = { checkDeviceNo: '/api/client/getEquipmentCode',//检查设备码是否存在 getSystemInfo: 阅读全文
posted @ 2022-05-21 14:02 林逸夫 阅读(198) 评论(0) 推荐(0) 编辑
摘要:playGame() { var newTime = new Date().getTime(); if (this.lastTime == null) { this.lastTime = newTime; ipcRenderer.send("documentPath"); } else { if ( 阅读全文
posted @ 2022-05-21 10:20 林逸夫 阅读(10) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示