上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 33 下一页

2020年7月2日

摘要: +new Date() new Date().valueOf() 这两个方法作用是一样的,得到一串时间戳 阅读全文

posted @ 2020-07-02 11:02 猫头唔食鱼 阅读(349) 评论(0) 推荐(0) 编辑

2020年7月1日

摘要: 点击了Nginx,但是完全没反应,打开任务管理器,看不到Nginx进程。 这是因为有进程占用了80端口。 现在要找出这个占用了80端口的进程。 打开cmd输入如下代码 netstat -ano 找到对应正在使用80端口的进程的pid,6956 启动任务管理器,点击查看/选择列 pid这个选项打钩,确 阅读全文

posted @ 2020-07-01 15:54 猫头唔食鱼 阅读(3672) 评论(0) 推荐(0) 编辑

2020年6月30日

摘要: 百度找的,就这 git config credential.helper store 阅读全文

posted @ 2020-06-30 10:37 猫头唔食鱼 阅读(139) 评论(0) 推荐(0) 编辑

2020年5月29日

摘要: 设置了keep-alive的路由,不会触发生命周期。 要把keep-alive设置为false,才会触发生命周期。 阅读全文

posted @ 2020-05-29 07:18 猫头唔食鱼 阅读(2133) 评论(0) 推荐(0) 编辑

2020年5月13日

摘要: var src = 'https://image-devtest.myutopa.com/Flkqr5B7zLOS86u7x25OdkO5EaAq?e=1618555108&token=WNtUYaMiCdpTDzanlE03SjKXLinbmTzkLGXEBYC_:jTuCU1Em5thMybNY 阅读全文

posted @ 2020-05-13 08:44 猫头唔食鱼 阅读(595) 评论(0) 推荐(0) 编辑

2020年5月4日

摘要: 这样写就可以了 @click="test(...arguments,1)" 例子: <template> <div> <button @click="test(...arguments,1)">点击</button> </div> </template> <script> export defaul 阅读全文

posted @ 2020-05-04 16:55 猫头唔食鱼 阅读(2165) 评论(0) 推荐(0) 编辑

2020年4月30日

摘要: git branch // 查看分支 git add . // 添加新创建的文件 git commit -m 'msg' // 提交文件 git pull origin dev // 从dev分支pull代码 git push origin dev // 提交代码到dev git checkout 阅读全文

posted @ 2020-04-30 19:05 猫头唔食鱼 阅读(180) 评论(0) 推荐(0) 编辑

2020年4月28日

摘要: // vant覆盖默认样式的写法 <style lang="scss" scoped> ::v-deep .van-popup { background: transparent; color: #fff; } </style> 阅读全文

posted @ 2020-04-28 18:52 猫头唔食鱼 阅读(3696) 评论(0) 推荐(0) 编辑

摘要: html <p ref="p">这是文字</p> <button @click="copy">点击复制上面内容</button> js data() { return { copyText: "" }; }, methods: { copy() { this.copyText = this.$ref 阅读全文

posted @ 2020-04-28 09:08 猫头唔食鱼 阅读(1573) 评论(0) 推荐(0) 编辑

摘要: html <div class="test" @touchstart="gtouchstart()">按啊</div> js data(){ return { timeOutEvent: 0 ,// 长按事件定时器 }} methods: { gtouchstart () { // 开始触摸 thi 阅读全文

posted @ 2020-04-28 08:52 猫头唔食鱼 阅读(1703) 评论(0) 推荐(0) 编辑

上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 33 下一页