上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 1、需要引入js <script src="http://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> 2、扫码 wx.config({ debug: false, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传 阅读全文
posted @ 2022-03-04 15:17 (⊙o⊙)买噶 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 1、page:当前页数,rows:每页条数 <el-form :model="dataSearch"> <el-form-item> <el-input v-model="dataSearch.name"> </el-form-item> </el-form> <el-table :data="da 阅读全文
posted @ 2021-08-29 15:25 (⊙o⊙)买噶 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 1、vue <div ref="element"></div> // 获取高度值 (内容高+padding+边框) this.$refs.element.offsetHeight; //获取样式值(带px) window.getComputedStyle(this.$refs.element).he 阅读全文
posted @ 2021-07-29 11:19 (⊙o⊙)买噶 阅读(3120) 评论(0) 推荐(0) 编辑
摘要: 1、配置vue.config.js devServer: { port: port, // open: true, overlay: { warnings: false, errors: true }, proxy: { '/device': { target: 'http://xx.xx.xxx. 阅读全文
posted @ 2021-07-19 16:21 (⊙o⊙)买噶 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 不能用cnpm下载要用npm下载,因为cnpm是淘宝镜像很多包都是快捷方式。这个就是缺包的解决方案。 可以使用npm下载,或者cnpm install --by=npm问题解决 阅读全文
posted @ 2021-07-18 18:20 (⊙o⊙)买噶 阅读(810) 评论(0) 推荐(0) 编辑
摘要: 1、 watch:{ $route(to,from){ console.log(to.path); } }, 2、 watch: { $route: { handler: function(val, oldVal){ console.log(val); }, // 深度观察监听 deep: true 阅读全文
posted @ 2021-07-16 08:45 (⊙o⊙)买噶 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1、在main.js中设置全局事件总线 Vue.prototype.$EventBus = new Vue() 2、在A绑定事件 mounted() { this.$EventBus.$on("pass", (param) => { //执行响应操作 }); }, 3、在B触发事件 that.$Ev 阅读全文
posted @ 2021-04-20 18:12 (⊙o⊙)买噶 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 1、无法显示注册表值 2、解决办法 按WIN+R调出运行对话框,输入regedit注册表编辑器。对注册表中的五项,右击,打开权限,将每项的每个用户赋予完全控制权限。重启后安装顺利完成。 阅读全文
posted @ 2021-04-06 22:45 (⊙o⊙)买噶 阅读(3297) 评论(0) 推荐(0) 编辑
摘要: 1、修改默认安装磁盘 打开安装根目录下的resources文件夹内,找到Config文件将<ShowInstallOptions>false</ShowInstallOptions>改为<ShowInstallOptions>true</ShowInstallOptions> 2、安装完成后打开Ph 阅读全文
posted @ 2021-04-04 10:14 (⊙o⊙)买噶 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 1、安装pm2 npm install pm2 -g 2、启动服务 pm2 start app.js //启动app.js应用 pm2 start app.js --name app//启动应用并设置name 3、停止服务 pm2 stop all //停止所有应用 pm2 stop AppName 阅读全文
posted @ 2021-01-04 10:33 (⊙o⊙)买噶 阅读(1459) 评论(0) 推荐(1) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页