- 博客(8)
- 收藏
- 关注
原创 Error: Electron failed to install correctly, please delete node_modules/electron and try installing
1、进入到node_modules/electron 文件夹;2、在当前文件夹开启终端,并运行 node install.js;3、等跑完即可;
2021-06-25 17:13:16
1183
1
转载 vue中this.$nextTick()的使用
转载地址:https://www.cnblogs.com/jin-zhe/p/9985436.html
2019-01-31 16:50:55
8525
转载 发布一个npm包
转载地址:https://blog.youkuaiyun.com/u014302759/article/details/77946892
2019-01-31 15:10:10
240
转载 npm 提示 unable to verify the first certificate 的解决小结
转载地址:https://github.com/p2227/p2227.github.io/issues/5
2019-01-31 15:09:59
2967
转载 Date.parse()的坑
相关知识格式化时间转换为时间戳的三种方法:var timestamp1 = Date.parse(new Date());var timestamp2 = (new Date()).valueOf();var timestamp3 = new Date().getTime();* 第一种:获取的时间戳是把毫秒改成000显示,第二种和第三种是获取了当前毫秒的时间戳。入坑...
2018-12-25 20:14:42
12883
原创 安卓端app嵌入web页面拨打电话问题
基本时候移动端页面想实现拨打电话的功能,只需使用a标签即可,具体代码如下:<body> <div> //a标签href设置为tel:加号码 <a href="tel:15307080708">拨打</a> //拨打号码为变量时如下 <a href="'tel:'+p...
2018-09-15 14:37:04
4568
原创 滚动/滑动模块的实现
很多时候页面装不下太多内容,这时就得设置那块内容可滚动/滑动。具体代码如下:<html><head> <title>滚动/滑动页面</title> <style> .container { width:100%; height:100%; ...
2018-09-13 22:56:35
2403
原创 通过url传对象的问题
url正常传递参数格式为:<script> //跳转至页面http://www.baidu.com,传递参数名字和年龄(如下代码实现) window.location = 'http://www.baidu.com?name='+牵One+'&age='+24;</script>但是有时我们需要传递的不只是一个键值对或者键值对多了会导...
2018-09-06 23:09:18
16484
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅