2021年6月

docker-compose安装sonarqube7.9

```yml version: '3' services: postgres: image: postgres:12 restart: always container_name: postgres ports: - 5432:5432 volumes: - /opt/postgres/postgresql/:/var/lib/postgresql - /opt/postgres/data/:/var/lib/postgresql/d
174 浏览 还没有评论

判断页面环境是否在小程序的webview中

```javascript <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script> <script> var ua = navigator.userAgent.toLowerCase(); if(ua.match(/MicroMessenger/i)=="micromessenger") { //ios的ua中无miniProgram,但都有MicroMessen
148 浏览 还没有评论