首页
  • sequelize 自定义时间戳 createdAt updatedAt

    let sequelize = new Sequelize( config.dataBase.name, config.dataBase.account , config.dataBase.password ,{
        host: config.dataBase.host ,
        dialect: config.dataBase.type ,
    阅读全文
  • webpack vue-cli3 压缩图片

    webpack vue-cli3 压缩图片

    yarn add image-webpack-loader
    config.module.rules.push({
        test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
        use:[{
            loader: 'image-webpack-loader'
    阅读全文
  • e-charts 支持 svg 渲染

    import 'zrender/lib/svg/svg';
    
    var myChart = echarts.init( dom, null, {renderer: 'svg'} )
    阅读全文
  • python 学习 抓取 中国福利彩票网站的信息

    #安装库
    pip3 install requests
    import requests
    import json
    
    def getDraw(name,index):
        headers = { "Referer": "http://www.cwl.gov.cn/" }
    阅读全文
  • nginx 常规命令操作

    nginx sbin #目录下
    
    ./nginx  #启动
    ./nginx -s reload  #重启
    阅读全文
  • Mac打开应用提示已损坏怎么办 开启 任何来源

    Mac打开应用提示已损坏怎么办 Mac安装软件时提示已损坏怎么办

    升级了最新Mac系统的用户在打开一些应用的时候都会出现“应用XX已损坏”的系统提示,安装这些应用的时候总是提示“已损坏,移至废纸篓”这类信息,根本无法打开应用,那么Mac打开应用提示已损坏怎么办?

    Mac打开应用提示已损坏的解决办法:

    打开应用提示已损坏是因为新系统的原因。新的系统为了加强安全机制,默认不允

    阅读全文
  • vue-cli3 前端构建失败

    需要安装一个Html编辑器提示报错

    You are using the runtime-only build of Vue where the template compiler is not available. 
    阅读全文
  • 阻止微信浏览器下拉滑动效果

    document.body.addEventListener('touchmove', function (e) {
          e.preventDefault(); 
    }, {passive: false}); 
    阅读全文
  • html 安全Meta

    <meta 
      http-equiv="Content-Security-Policy" 
      content="script-src 'self' 'unsafe-eval' 'unsafe-inline' ; 
          object-src xxx.xxx.com ; 
          style-src 'unsafe-inline' xxx.xxx.com; 
    阅读全文
  • 微信横屏库

    <script src="http://wximg.qq.com/wxp/libs/wxmoment/0.0.4/wxmoment.min.js"></script>
    <script>
        new WxMoment.OrientationTip();
    </script>
    阅读全文
  • 上一页 1 2 3 4 5 6 7 8 9 10 下一页
Taoqun
陶群
1994-09-07
taoquns@foxmail.com
前端开发
南京

文章分类

Mac
算法
前端
python
golang
mysql
node
linux
随笔
生活
游记

我的作品

记录体重Pro(小程序)
闲蝉科技

其他推荐

解决网页移动端input 输入框 ios 键盘弹窗问题
go 学习
git 规范
Typescript 给setTimeout 的返回值定义为 number出错
ios时间格式化 js iphone
mac 使用rz、sz
centos添加用户并赋予管理员权限
开发者:Taoqun

备案/许可证编号为:皖ICP备17027395号

闲蝉科技